Skip to content

Commit 0f493a7

Browse files
committed
test: make test work with unit testing
1 parent 2b7b598 commit 0f493a7

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

tests/test_path_helper.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
import sys
44
import os
55

6-
sys.path.append("C:/Users/math/AppData/Roaming/Sublime Text 3/Packages/FileManager")
7-
from pathhelper import *
8-
9-
sys.path.pop()
6+
from FileManager.pathhelper import computer_friendly, user_friendly
107

118

129
class PathHelperTest(unittest.TestCase):
@@ -47,6 +44,3 @@ def test_user_friendly(self):
4744
if result is None:
4845
result = base
4946
self.assertEqual(user_friendly(base), result)
50-
51-
52-
unittest.main()

0 commit comments

Comments
 (0)