mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
@@ -8,6 +8,7 @@
|
||||
import json
|
||||
import locale
|
||||
import os
|
||||
import platform
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
@@ -62,6 +63,8 @@ class Base(unittest.TestCase):
|
||||
|
||||
@property
|
||||
def sep(self):
|
||||
if platform.system().lower() == "windows":
|
||||
return "\\"
|
||||
return os.sep
|
||||
|
||||
def assert_called_once(self, mock_method):
|
||||
|
||||
Reference in New Issue
Block a user