summaryrefslogtreecommitdiffstats
path: root/test/test_tabular_output.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-14 09:53:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-14 09:53:08 +0000
commit6d1cb3a9e9138ce198ec3e344ca2d0f865e0c762 (patch)
tree8cef3c436dc2a3c6301c5b61bc5d8f1362ee918e /test/test_tabular_output.py
parentAdding upstream version 1.26.1. (diff)
downloadmycli-6d1cb3a9e9138ce198ec3e344ca2d0f865e0c762.tar.xz
mycli-6d1cb3a9e9138ce198ec3e344ca2d0f865e0c762.zip
Adding upstream version 1.27.0.upstream/1.27.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/test_tabular_output.py')
-rw-r--r--test/test_tabular_output.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_tabular_output.py b/test/test_tabular_output.py
index c20c7de..bdc1dbf 100644
--- a/test/test_tabular_output.py
+++ b/test/test_tabular_output.py
@@ -102,7 +102,7 @@ def test_sql_output(mycli):
mycli.formatter.query = "SELECT * FROM `table`"
output = mycli.format_output(None, FakeCursor(), headers)
assert "\n".join(output) == dedent('''\
- INSERT INTO `table` (`letters`, `number`, `optional`, `float`, `binary`) VALUES
+ INSERT INTO table (`letters`, `number`, `optional`, `float`, `binary`) VALUES
('abc', 1, NULL, 10.0e0, X'aa')
, ('d', 456, '1', 0.5e0, X'aabb')
;''')
@@ -112,7 +112,7 @@ def test_sql_output(mycli):
mycli.formatter.query = "SELECT * FROM `database`.`table`"
output = mycli.format_output(None, FakeCursor(), headers)
assert "\n".join(output) == dedent('''\
- INSERT INTO `database`.`table` (`letters`, `number`, `optional`, `float`, `binary`) VALUES
+ INSERT INTO database.table (`letters`, `number`, `optional`, `float`, `binary`) VALUES
('abc', 1, NULL, 10.0e0, X'aa')
, ('d', 456, '1', 0.5e0, X'aabb')
;''')