File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
tests/pytests/functional/modules Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -45,22 +45,6 @@ def test_info(shadow, accounts):
45
45
assert ret ["name" ] == ""
46
46
47
47
48
- def test_get_account_existing (shadow , accounts ):
49
- """
50
- Test shadow.get_account_existing
51
- """
52
- # Correct Functionality
53
- text_date = shadow .get_account_existing (accounts .existing )
54
- assert text_date != "Invalid Timestamp"
55
- obj_date = datetime .datetime .strptime (text_date , "%Y-%m-%d %H:%M:%S" )
56
- assert isinstance (obj_date , datetime .date )
57
-
58
- # User does not exist
59
- with pytest .raises (CommandExecutionError ) as exc :
60
- shadow .get_account_existing (accounts .non_existing )
61
- assert f"ERROR: User not found: { accounts .non_existing } " in str (exc .value )
62
-
63
-
64
48
def test_get_last_change (shadow , accounts ):
65
49
"""
66
50
Test shadow.get_last_change
You can’t perform that action at this time.
0 commit comments