diff --git a/.github/codespell_ignore_words.txt b/.github/codespell_ignore_words.txt new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..5456255 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,16 @@ +name: Codespell + +on: + pull_request: + push: + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: codespell-project/actions-codespell@master + with: + ignore_words_file: .github/codespell_ignore_words.txt diff --git a/Graphical/local-user-graphical-login.py b/Graphical/local-user-graphical-login.py index eda3799..9f8b9cf 100644 --- a/Graphical/local-user-graphical-login.py +++ b/Graphical/local-user-graphical-login.py @@ -2,7 +2,7 @@ This module contains tests for logging into GUI using GDM. Most of the tests are parametrized to test both optional and required smart card in authselect. -Lock-on-removal option is not set as it is irelevent for present tests. +Lock-on-removal option is not set as it is irrelevant for present tests. The tests within the module try logging in both using password and smart card with PIN. Both wrong password and wrong PIN are tested too. All tests depend on SCAutolib GUI module. diff --git a/Graphical/local-user-lock-on-removal.py b/Graphical/local-user-lock-on-removal.py index c44b163..b1fb501 100644 --- a/Graphical/local-user-lock-on-removal.py +++ b/Graphical/local-user-lock-on-removal.py @@ -136,7 +136,7 @@ def test_lockscreen_password(local_user, lock_on_removal): B. GDM starts and user logs in successfully C. Nothing happens D. The screen is locked - E. Screen is unlocked succesfully + E. Screen is unlocked successfully """ with ( Authselect(required=False, lock_on_removal=lock_on_removal), diff --git a/Sanity/test_sssd_conf.py b/Sanity/test_sssd_conf.py index b15aa27..4d57270 100644 --- a/Sanity/test_sssd_conf.py +++ b/Sanity/test_sssd_conf.py @@ -95,9 +95,9 @@ def test_su_login_p11_uri_user_mismatch(user, uri, auth_stat, sssd): 8. Open GDM login screen 9. Insert card into the reader Expected result: - User is either prompted to enter password and authenticates succesfully - without SC or authentication fails depending on selected authselect - profile. + User is either prompted to enter password and authenticates + successfully without SC or authentication fails depending on selected + authselect profile. """ with sssd(section="pam", key="p11_uri", value=uri) as sssd_conf: run(["ls", "-l", "/etc/sssd/sssd.conf"])