Skip to content

Commit 9f45b49

Browse files
committed
unpdated relative paths in tests folder
1 parent f87770d commit 9f45b49

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

tests/test_battery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import unittest
77
import psutil
88

9-
from vizex.vizexdu.battery import Battery
9+
from vizexdu.battery import Battery
1010

1111

1212
class TestBattery(unittest.TestCase):

tests/test_charts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import unittest.mock
1010

1111
from colored import fg, attr, stylize
12-
from vizex.vizexdu.charts import Options, Chart, HorizontalBarChart
12+
from vizexdu.charts import Options, Chart, HorizontalBarChart
1313

1414

1515
class TestOptions(unittest.TestCase):

tests/test_decorateddata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import unittest
88
import unittest.mock
99

10-
from vizex.tools import DecoratedData
10+
from tools import DecoratedData
1111

1212

1313
class TestTools(unittest.TestCase):

tests/test_disk.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
from __access import ADD_PATH
44
ADD_PATH()
55

6-
76
import io
87
import random
98
import psutil
109
import unittest
1110

1211
from unittest.mock import MagicMock, call
1312
from colored import fg, attr, stylize
14-
from vizex.vizexdu.charts import Options
13+
from vizexdu.charts import Options
1514

1615

1716
@unittest.skip("Tests need to be updated to suit the changes in the disks.py module")

tests/test_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import os
99
import warnings
1010

11-
from vizex.vizexdf.files import DirectoryFiles
11+
from vizexdf.files import DirectoryFiles
1212

1313

1414
class TestDirectoryFiles(unittest.TestCase):

tests/test_tools.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
from colored import fg, attr, stylize
1616

1717
# --- Tools' methods to be tested ---
18-
from vizex.tools import save_to_csv, save_to_json
19-
from vizex.tools import bytes_to_human_readable, create_usage_warning
20-
from vizex.tools import ints_to_human_readable, printml
21-
from vizex.tools import append_to_bash, remove_if_exists
18+
from tools import save_to_csv, save_to_json
19+
from tools import bytes_to_human_readable, create_usage_warning
20+
from tools import ints_to_human_readable, printml
21+
from tools import append_to_bash, remove_if_exists
2222

2323

2424
class TestTools(unittest.TestCase):

0 commit comments

Comments
 (0)