Skip to content

Commit 7faf458

Browse files
committed
remove test that wasn't working as expected
1 parent f9a6398 commit 7faf458

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tests/cli/test_cli.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,11 +1966,6 @@ def test_search_time(ctx):
19661966
check_equals('', _run_command([cl, 'search', 'name=' + name, '.before=' + time1, '-u']))
19671967
check_equals('', _run_command([cl, 'search', 'name=' + name, '.after=' + time3, '-u']))
19681968

1969-
# Search param non-ISO time test, should not throw "Unable to parse datetime" error.
1970-
MONTH_FIRST_CHAR_IDX = 5
1971-
nonIsoTime = time1[:MONTH_FIRST_CHAR_IDX] + time1[MONTH_FIRST_CHAR_IDX + 1 :]
1972-
check_equals('', _run_command([cl, 'search', 'name=' + name, '.before=' + nonIsoTime, '-u']))
1973-
19741969
# Before
19751970
check_equals(
19761971
uuid1, _run_command([cl, 'search', 'name=' + name, '.before=' + time2, 'id=.sort', '-u'])

0 commit comments

Comments
 (0)