diff options
Diffstat (limited to 'tests/test_project.py')
-rw-r--r-- | tests/test_project.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_project.py b/tests/test_project.py index 6dc071bd..de26e91a 100644 --- a/tests/test_project.py +++ b/tests/test_project.py | |||
@@ -107,6 +107,16 @@ class ReviewableBranchTests(unittest.TestCase): | |||
107 | self.assertTrue(rb.date) | 107 | self.assertTrue(rb.date) |
108 | 108 | ||
109 | 109 | ||
110 | class ProjectTests(unittest.TestCase): | ||
111 | """Check Project behavior.""" | ||
112 | |||
113 | def test_encode_patchset_description(self): | ||
114 | self.assertEqual( | ||
115 | project.Project._encode_patchset_description("abcd00!! +"), | ||
116 | "abcd00%21%21_%2b", | ||
117 | ) | ||
118 | |||
119 | |||
110 | class CopyLinkTestCase(unittest.TestCase): | 120 | class CopyLinkTestCase(unittest.TestCase): |
111 | """TestCase for stub repo client checkouts. | 121 | """TestCase for stub repo client checkouts. |
112 | 122 | ||