Unit Test
- Added quotes, which is a reasonable workaround for a misinterpreted argument.
This commit is contained in:
@@ -40,7 +40,7 @@ class TestBug1359(TestCase):
|
|||||||
|
|
||||||
def test_add_hyphenated(self):
|
def test_add_hyphenated(self):
|
||||||
""""one-two-three" in description triggers Malformed ID error"""
|
""""one-two-three" in description triggers Malformed ID error"""
|
||||||
self.t(("add", "one-two-three.ca"))
|
self.t(("add", "'one-two-three.ca'"))
|
||||||
|
|
||||||
code, out, err = self.t(("1", "info"))
|
code, out, err = self.t(("1", "info"))
|
||||||
self.assertIn("one-two-three.ca", out)
|
self.assertIn("one-two-three.ca", out)
|
||||||
|
|||||||
Reference in New Issue
Block a user