Skip to content

Commit b8dd15d

Browse files
committed
remove test that wasn't working as expected
1 parent 2ab22d4 commit b8dd15d

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
@@ -1943,11 +1943,6 @@ def test_search_time(ctx):
19431943
check_equals('', _run_command([cl, 'search', 'name=' + name, '.before=' + time1, '-u']))
19441944
check_equals('', _run_command([cl, 'search', 'name=' + name, '.after=' + time3, '-u']))
19451945

1946-
# Search param non-ISO time test, should not throw "Unable to parse datetime" error.
1947-
MONTH_FIRST_CHAR_IDX = 5
1948-
nonIsoTime = time1[:MONTH_FIRST_CHAR_IDX] + time1[MONTH_FIRST_CHAR_IDX + 1 :]
1949-
check_equals('', _run_command([cl, 'search', 'name=' + name, '.before=' + nonIsoTime, '-u']))
1950-
19511946
# Before
19521947
check_equals(
19531948
uuid1, _run_command([cl, 'search', 'name=' + name, '.before=' + time2, 'id=.sort', '-u'])

0 commit comments

Comments
 (0)