terrasync.py: test_virtual_path.py can't be run directly
Remove the 'if __name__ == "__main__": unittest.main()'. Indeed, the module can't be run this way due to its imports. Tests from this module can be run with: cd scripts/python/TerraSync python3 -m unittest tests.test_virtual_path
This commit is contained in:
parent
13f943b4a1
commit
2a991c9874
1 changed files with 0 additions and 4 deletions
|
@ -355,7 +355,3 @@ class TestMutableVirtualPathSpecific(unittest.TestCase):
|
|||
def test_isNotHashableType(self):
|
||||
p = MutableVirtualPath("/foo")
|
||||
self.assertFalse(isinstance(p, collections.abc.Hashable))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Reference in a new issue