Skip to content

Commit

Permalink
Add codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
Marek Havrila authored and mahavrila committed Dec 20, 2023
1 parent 2e9114b commit 8b10fb1
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
Empty file.
16 changes: 16 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Graphical/local-user-graphical-login.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Graphical/local-user-lock-on-removal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
6 changes: 3 additions & 3 deletions Sanity/test_sssd_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit 8b10fb1

Please sign in to comment.