Fixed a broken unit test (pro tip: test new tests before committing...)
This commit is contained in:
1 parent
a731f748d9
commit
454f16a7c3
1 file changed
+2
-1
@@ -204,4 +204,5 @@ class IsHiddenPathTest(unittest.TestCase):
|
||||
)
|
||||
@ddt.unpack
|
||||
def test_is_hidden_path(self, path_id, expected):
|
||||
self.assertEqual(octoprint.util.is_hidden_path(getattr(self, path_id)), expected)
|
||||
path = getattr(self, path_id) if path_id is not None else None
|
||||
self.assertEqual(octoprint.util.is_hidden_path(path), expected)
|
||||
Reference in new issue
Block a user