File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
time_tracker_api/time_entries Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,5 @@ def test_build_with_add_sql_date_range_condition():
7474 query = time_entry_query_builder .get_query ()
7575
7676 assert remove_white_spaces (query ) == remove_white_spaces (expected_query )
77-
7877 assert len (time_entry_query_builder .where_conditions ) == 1
7978 assert len (time_entry_query_builder .get_parameters ()) == 2
Original file line number Diff line number Diff line change @@ -235,7 +235,6 @@ def test_build_with_all_calls_return_query_with_all_conditions():
235235 """
236236
237237 assert remove_white_spaces (query ) == remove_white_spaces (expected_query )
238-
239238 assert len (query_builder .get_parameters ()) > 0
240239 assert len (query_builder .where_conditions ) > 0
241240 assert len (query_builder .select_conditions ) > 0
@@ -254,8 +253,8 @@ def test_build_with_empty_and_None_attributes_return_query_select_all():
254253 )
255254
256255 query = query_builder .get_query ()
257-
258256 expected_query = """SELECT * FROM c"""
257+
259258 query = remove_white_spaces (query )
260259 expected_query = remove_white_spaces (expected_query )
261260
You can’t perform that action at this time.
0 commit comments