Skip to content

Commit

Permalink
fix: correct test case for sql_flush for multiple delete table comman…
Browse files Browse the repository at this point in the history
…ds (#629)

* feat: updated nox file for docs and docfx and added unit tests for client

* fix: lint_setup_py was failing in Kokoro is not fixed

* feat: updated nox file for docs and docfx and added unit tests for client

* feat: added docfx build in nox file

* feat: updated nox file for docs and docfx and added unit tests for client

* feat: added docfx build in nox file

* feat: adding unit tests for django spanner

* feat: updated nox file for docs and docfx and added unit tests for client

* feat: added docfx build in nox file

* feat: updated nox file for docs and docfx and added unit tests for client

* feat: added docfx build in nox file

* feat: updated nox file for docs and docfx and added unit tests for client

* feat: adding unit tests for django spanner

* bug: fixed schema tests settings to create instance and delete it after test completion

* bug: test fixes for schema file

* feat: added unit test coverage for functions, introspection and schema

* refactor: lint the code

* refactor: removed unrelated code from PR

* ci: added build for docfx and refactores settings for unit tests

* build: added python 3.9 in setup file

* refactor: changed coverage check to 65 from 68 to be conservative in the estimates

* fix: corrected test case for sql_flush for multiple delete table commands
  • Loading branch information
vi3k6i5 committed May 20, 2021
1 parent 2772b57 commit 3de1a81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/django_spanner/test_operations.py
Expand Up @@ -33,9 +33,9 @@ def test_sql_flush(self):

self.assertEqual(
self.db_operations.sql_flush(
style=no_style(), tables=["Table1, Table2"]
style=no_style(), tables=["Table1", "Table2"]
),
["DELETE FROM `Table1, Table2`"],
["DELETE FROM Table1", "DELETE FROM Table2"],
)

def test_sql_flush_empty_table_list(self):
Expand Down

0 comments on commit 3de1a81

Please sign in to comment.