Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyaven committed Jul 17, 2024
1 parent 2314cda commit e0b3e58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pystackql_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ def test_12_execute_with_pandas_output(self):

@pystackql_test_setup(output='csv')
def test_13_execute_with_csv_output(self):
result = self.stackql.execute(aws_query)
# result = self.stackql.execute(aws_query)
result = self.stackql.execute(google_query)
is_valid_csv = isinstance(result, str) and result.count("\n") >= 1 and result.count(",") >= 1
self.assertTrue(is_valid_csv, f"Result is not a valid CSV: {result}")
print_test_result(f"Test execute with csv output\nRESULT_COUNT: {len(result.splitlines())}", is_valid_csv)
Expand Down

0 comments on commit e0b3e58

Please sign in to comment.