Prechádzať zdrojové kódy

move some tests to testsuite.helpers package

Thomas Waldmann 1 týždeň pred
rodič
commit
394cec653b

+ 1 - 1
src/borg/testsuite/efficient_collection_queue_test.py → src/borg/testsuite/helpers/efficient_collection_queue_test.py

@@ -1,6 +1,6 @@
 import pytest
 
-from ..helpers.datastruct import EfficientCollectionQueue
+from ...helpers.datastruct import EfficientCollectionQueue
 
 
 class TestEfficientQueue:

+ 1 - 1
src/borg/testsuite/lrucache_test.py → src/borg/testsuite/helpers/lrucache_test.py

@@ -2,7 +2,7 @@ from tempfile import TemporaryFile
 
 import pytest
 
-from ..helpers.lrucache import LRUCache
+from ...helpers.lrucache import LRUCache
 
 
 class TestLRUCache:

+ 1 - 1
src/borg/testsuite/nanorst_test.py → src/borg/testsuite/helpers/nanorst_test.py

@@ -1,6 +1,6 @@
 import pytest
 
-from ..helpers.nanorst import rst_to_text
+from ...helpers.nanorst import rst_to_text
 
 
 def test_inline():