mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-07-02 18:45:52 +02:00
This commit is contained in:
parent
f5ef7e02d7
commit
782a178596
|
@ -43,7 +43,7 @@ class Base(unittest.TestCase):
|
|||
|
||||
@property
|
||||
def sep(self):
|
||||
return "\\" if sys.platform == "win32" else "/"
|
||||
return os.sep
|
||||
|
||||
def assert_called_once(self, mock_method):
|
||||
self.assertEqual(mock_method.call_count, 1)
|
||||
|
|
Loading…
Reference in New Issue
Block a user