Skip to content

Commit a991ac0

Browse files
tests/system/tests/test_newusers.py: Remove tests where PAM differs from us.
Signed-off-by: Alejandro Colomar <[email protected]>
1 parent cabb33c commit a991ac0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/system/tests/test_newusers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def test_newusers__create_users_from_stdin(shadow: Shadow):
4545
assert shadow_entry is not None, "tuser1 user should be found in shadow"
4646
assert shadow_entry.name == "tuser1", "Incorrect username"
4747
assert shadow_entry.password is not None, "Incorrect password"
48-
assert shadow_entry.last_changed is None, "Incorrect last changed"
4948
assert shadow_entry.min_days is None, "Incorrect min days"
5049
assert shadow_entry.max_days is None, "Incorrect max days"
5150
assert shadow_entry.warn_days is None, "Incorrect warn days"
@@ -77,7 +76,6 @@ def test_newusers__create_users_from_stdin(shadow: Shadow):
7776
assert shadow_entry is not None, "tuser2 user should be found in shadow"
7877
assert shadow_entry.name == "tuser2", "Incorrect username"
7978
assert shadow_entry.password is not None, "Incorrect password"
80-
assert shadow_entry.last_changed is None, "Incorrect last changed"
8179
assert shadow_entry.min_days is None, "Incorrect min days"
8280
assert shadow_entry.max_days is None, "Incorrect max days"
8381
assert shadow_entry.warn_days is None, "Incorrect warn days"
@@ -133,7 +131,6 @@ def test_newusers__create_users_from_file(shadow: Shadow):
133131
assert shadow_entry is not None, "tuser1 user should be found in shadow"
134132
assert shadow_entry.name == "tuser1", "Incorrect username"
135133
assert shadow_entry.password is not None, "Incorrect password"
136-
assert shadow_entry.last_changed is None, "Incorrect last changed"
137134
assert shadow_entry.min_days is None, "Incorrect min days"
138135
assert shadow_entry.max_days is None, "Incorrect max days"
139136
assert shadow_entry.warn_days is None, "Incorrect warn days"
@@ -165,7 +162,6 @@ def test_newusers__create_users_from_file(shadow: Shadow):
165162
assert shadow_entry is not None, "tuser2 user should be found in shadow"
166163
assert shadow_entry.name == "tuser2", "Incorrect username"
167164
assert shadow_entry.password is not None, "Incorrect password"
168-
assert shadow_entry.last_changed is None, "Incorrect last changed"
169165
assert shadow_entry.min_days is None, "Incorrect min days"
170166
assert shadow_entry.max_days is None, "Incorrect max days"
171167
assert shadow_entry.warn_days is None, "Incorrect warn days"

0 commit comments

Comments
 (0)