def test_file_size_less_than_float_gives_correct_json_representation(): _filter = FileSize.less_than(2048.10) expected = LESS_THAN.format("fileSize", "2048") assert str(_filter) == expected
def test_file_size_greater_than_float_gives_correct_json_representation(): _filter = FileSize.greater_than(2048.10) expected = GREATER_THAN.format("fileSize", "2048") assert str(_filter) == expected