Skip to content

Commit 1016665

Browse files
committed
split up output tests
1 parent fe37948 commit 1016665

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/table/test_output.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
from ..example_project.tables import Band
55

66

7-
class TestOutput(DBTestCase):
7+
class TestOutputList(DBTestCase):
88
def test_output_as_list(self):
99
self.insert_row()
1010

1111
response = Band.select(Band.name).output(as_list=True).run_sync()
1212

1313
self.assertTrue(response == ["Pythonistas"])
1414

15+
16+
class TestOutputJSON(DBTestCase):
1517
def test_output_as_json(self):
1618
self.insert_row()
1719

0 commit comments

Comments
 (0)