Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3de1a81

Browse files
authored
fix: correct test case for sql_flush for multiple delete table commands (#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
1 parent 2772b57 commit 3de1a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/django_spanner/test_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ def test_sql_flush(self):
3333

3434
self.assertEqual(
3535
self.db_operations.sql_flush(
36-
style=no_style(), tables=["Table1, Table2"]
36+
style=no_style(), tables=["Table1", "Table2"]
3737
),
38-
["DELETE FROM `Table1, Table2`"],
38+
["DELETE FROM Table1", "DELETE FROM Table2"],
3939
)
4040

4141
def test_sql_flush_empty_table_list(self):

0 commit comments

Comments
 (0)