mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Merged feature.1061.t into columns.t
This commit is contained in:
parent
89534afa84
commit
15adcfe1a0
2 changed files with 20 additions and 62 deletions
|
@ -445,6 +445,26 @@ depends list* 1 2 10
|
|||
start active* ✓
|
||||
"""
|
||||
|
||||
class TestFeature1061(TestCase):
|
||||
def setUp(self):
|
||||
"""Executed before each test in the class"""
|
||||
self.t = Task()
|
||||
|
||||
def test_columns(self):
|
||||
"""1061: Verify 'task columns' works"""
|
||||
code, out, err = self.t("columns")
|
||||
self.assertIn("description", out)
|
||||
self.assertIn("uuid", out)
|
||||
self.assertIn("project", out)
|
||||
|
||||
def test_columns_specific(self):
|
||||
"""1061: Verify 'task columns escr' works"""
|
||||
code, out, err = self.t("columns escr")
|
||||
self.assertIn("description", out)
|
||||
self.assertNotIn("uuid", out)
|
||||
self.assertNotIn("project", out)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
unittest.main(testRunner=TAPTestRunner())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue