Skip to content

Commit 2342ce9

Browse files
committed
refactor: TT-185 delete empty lines
2 parents 3401b39 + 262ace0 commit 2342ce9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/time_tracker_api/time_entries/time_entries_query_builder_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

tests/utils/query_builder_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)