Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 #125

Merged
merged 110 commits into from
Nov 9, 2023
Merged

V2 #125

merged 110 commits into from
Nov 9, 2023

Conversation

mahavrila
Copy link
Collaborator

No description provided.

x00Pavel and others added 30 commits April 14, 2022 15:40
Initial file structure

Update paths to files in setup.py

Update documentation for run function

Fix return code of pytest if not tests are found
Add CA base interface ca.py

Add implementation of the LocalCA class

Add unit tests

Add unit tests

Update documentation

Update metadata about package

Add fixture for backping sssd ca db

Update setup.py to include package data

Update for review

Update docs
Add unit tests for IPA server CA

Disable auxiliary logs from not important loggers

Update docs and logs

Add test for force option

Move IPAServerCA to CA.py

Add assertion for making requests to IPA server via ClientMeta

Update linter

Fix renaming of the cert output

Add unit test for IPA server CA

Remove redundant test

Update for review

Remove hardcoded admin password

Add propagation of default env values to pytest env
x00Pavel and others added 27 commits September 5, 2022 12:47
Method prepare creates and modifies sssd.conf file during setup. Method set can
be used during testing phase (different runtime) to introduce test-specific
modification to sssd.conf file by using default backup file as input and
applying changes on top of it.

However, method prepare did not update default backup file after user-spefific
matchrules were added leading to loss of these changes in case sssd.conf file
was futrher modified by tests.
IPAServerCA was trying to obtain config-client-for-smart-card-auth.sh
from IPA server. Now it will check for it's existance before trying
to obtain it. Moving imports of paramiko, invoke and fabric to
a method obtaining script from IPA. Having them as lazy imports will
prevent failures on imports in case this branch of code is not executed.
This module implements GUI class, which can be imported into tests and used as context manager.
This class enables interaction with GUI of the system under test.
Most importantly, the GUI class is responsible for taking screenshots and controlling the input devices like mouse and keybord.
The class implements a high level API with functions like click_on,
which takes the screenshot, finds a string in it and clicks on corresponding coordinate on the screen.
The module provides context managed function assert_log.
It can assert, that a new log has been written in time between entering and exiting the context manager.
@GeorgePantelakis GeorgePantelakis merged commit 021c0e6 into master Nov 9, 2023
6 checks passed
@x00Pavel
Copy link
Member

uf, unfortunately, from this PR it is not clear what was actually changed... so I can't provide a more specific review of this PR...
But I have a general suggestion to use Python Black formatter. This format has an opinionated way of formatting the code at it looks very clean after formatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants