Skip to content

Commit 00a237b

Browse files
committed
fix: test cases with weak password
1 parent 868954a commit 00a237b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/account/manage_test.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ class TestChangePasswordWithStaffer:
3434
def _chpass(self, mock_spawn):
3535
change_password_with_staffer(
3636
'ggroup',
37-
'strong_hunter2',
37+
'strong_hunter2837162',
3838
'ckuehl/admin',
39-
'super_hunter2',
39+
'super_hunter2837162',
4040
)
4141
mock_spawn.assert_called_with(
4242
'/usr/bin/kadmin -p ckuehl/admin cpw ggroup',
4343
timeout=10,
4444
)
4545
mock_spawn.return_value.sendline.assert_has_calls(
46-
[mock.call('strong_hunter2'), mock.call('strong_hunter2')],
46+
[mock.call('strong_hunter2837162'), mock.call('strong_hunter2837162')],
4747
)
4848

4949
def test_success(self, mock_spawn, mock_notify_password_change):
@@ -71,7 +71,7 @@ class TestChangePasswordWithKeytab:
7171
def _chpass(self, mock_spawn):
7272
change_password_with_keytab(
7373
'ggroup',
74-
'strong_hunter2',
74+
'strong_hunter2837162',
7575
'/some/keytab',
7676
'create/admin',
7777
)
@@ -80,7 +80,7 @@ def _chpass(self, mock_spawn):
8080
timeout=10,
8181
)
8282
mock_spawn.return_value.sendline.assert_has_calls(
83-
[mock.call('strong_hunter2'), mock.call('strong_hunter2')],
83+
[mock.call('strong_hunter2837162'), mock.call('strong_hunter2837162')],
8484
)
8585

8686
def test_success(self, mock_spawn, mock_notify_password_change):

0 commit comments

Comments
 (0)