Skip to content

Commit

Permalink
removed some commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
simos committed Aug 30, 2023
1 parent a0f1aaa commit 111c998
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
26 changes: 0 additions & 26 deletions tests/standalone_tests/test_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

create_table_task_signature = get_celery_task_signature("create_table")
get_tables_task_signature = get_celery_task_signature("get_tables")
# insert_data_to_table_task_signature = get_celery_task_signature("insert_data_to_table")
get_table_data_task_signature = get_celery_task_signature("get_table_data")


Expand Down Expand Up @@ -80,18 +79,6 @@ def test_create_and_find_tables(
assert table_1_info.name in tables

values = [[1, 0.1, "test1"], [2, 0.2, None], [3, 0.3, "test3"]]
# async_result = localnode1_celery_app.queue_task(
# task_signature=insert_data_to_table_task_signature,
# logger=StdOutputLogger(),
# request_id=request_id,
# table_name=table_1_info.name,
# values=values,
# )
# localnode1_celery_app.get_result(
# async_result=async_result,
# logger=StdOutputLogger(),
# timeout=TASKS_TIMEOUT,
# )
insert_data_to_db(table_1_info.name, values, MONETDB_LOCALNODE1_PORT)

async_result = localnode1_celery_app.queue_task(
Expand Down Expand Up @@ -145,19 +132,6 @@ def test_create_and_find_tables(
assert table_2_info.name in tables

values = [[1, 0.1, "test1"], [2, None, "None"], [3, 0.3, None]]

# async_result = localnode1_celery_app.queue_task(
# task_signature=insert_data_to_table_task_signature,
# logger=StdOutputLogger(),
# request_id=request_id,
# table_name=table_2_info.name,
# values=values,
# )
# localnode1_celery_app.get_result(
# async_result=async_result,
# logger=StdOutputLogger(),
# timeout=TASKS_TIMEOUT,
# )
insert_data_to_db(table_2_info.name, values, MONETDB_LOCALNODE1_PORT)

async_result = localnode1_celery_app.queue_task(
Expand Down
22 changes: 0 additions & 22 deletions tests/standalone_tests/test_views_and_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,6 @@ def test_view_without_filters(
)

values = [[1, 0.1, "test1"], [2, 0.2, None], [3, 0.3, "test3"]]
# task_signature = get_celery_task_signature("insert_data_to_table")
# async_result = localnode1_celery_app.queue_task(
# task_signature=task_signature,
# logger=StdOutputLogger(),
# request_id=request_id,
# table_name=table_info.name,
# values=values,
# )
# localnode1_celery_app.get_result(
# async_result=async_result, logger=StdOutputLogger(), timeout=TASKS_TIMEOUT
# )
insert_data_to_db(table_info.name, values, MONETDB_LOCALNODE1_PORT)

columns = ["col1", "col3"]
Expand Down Expand Up @@ -220,17 +209,6 @@ def test_view_with_filters(
)

values = [[1, 0.1, "test1"], [2, 0.2, None], [3, 0.3, "test3"]]
# task_signature = get_celery_task_signature("insert_data_to_table")
# async_result = localnode1_celery_app.queue_task(
# task_signature=task_signature,
# logger=StdOutputLogger(),
# request_id=request_id,
# table_name=table_info.name,
# values=values,
# )
# localnode1_celery_app.get_result(
# async_result=async_result, logger=StdOutputLogger(), timeout=TASKS_TIMEOUT
# )
insert_data_to_db(table_info.name, values, MONETDB_LOCALNODE1_PORT)

columns = ["col1", "col3"]
Expand Down

0 comments on commit 111c998

Please sign in to comment.