mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user