Name the test class ProjectName and the argv helper model_args
This commit was merged in pull request #80.
This commit is contained in:
@@ -119,7 +119,7 @@ class CheckoutRoot(unittest.TestCase):
|
||||
self.assertEqual(loop.checkouts(root), [root])
|
||||
|
||||
|
||||
class Project(unittest.TestCase):
|
||||
class ProjectName(unittest.TestCase):
|
||||
def test_names_a_checkout_relative_to_code_and_any_other_relative_to_root(self):
|
||||
with unittest.mock.patch.dict(os.environ, {"HOME": "/h"}):
|
||||
self.assertEqual(loop.project_name("/h/code/a/b"), "a/b")
|
||||
|
||||
Reference in New Issue
Block a user