Config: No longer autovivifies
This commit is contained in:
@@ -54,6 +54,7 @@ class TestShowCommand(TestCase):
|
||||
|
||||
def test_show_one_arg(self):
|
||||
"""Verify show command lists one result with an arg provided"""
|
||||
self.t.config("default.due", "tomorrow")
|
||||
code, out, err = self.t("show default.due")
|
||||
self.assertNotIn("default.command", out)
|
||||
self.assertIn("default.due", out)
|
||||
|
||||
@@ -51,6 +51,7 @@ class TestBaseUda(TestCase):
|
||||
class TestUdaCommand(TestBaseUda):
|
||||
def setUp(self):
|
||||
super(TestUdaCommand, self).setUp()
|
||||
self.t.config("uda.extra.type", "string")
|
||||
|
||||
def test_uda_command(self):
|
||||
"""The 'udas' command should list 'priority' and 'extra'"""
|
||||
|
||||
Reference in New Issue
Block a user