Skip to content

Commit 1e982e8

Browse files
Fix tests
1 parent 54a932c commit 1e982e8

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class ResultHandler:
88
enable_save = False
99
delay_per_test = 0
10-
results_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'results')
10+
results_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'results')
1111

1212
def __init__(self, protocol_name):
1313
"ResultHandler"

tests/protocols/test_gamespy1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
from opengsq.protocols.gamespy1 import GameSpy1
3-
from ..result_handler import ResultHandler
3+
from .result_handler import ResultHandler
44

55

66
handler = ResultHandler('test_gamespy1')

tests/protocols/test_gamespy2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
from opengsq.protocols.gamespy2 import GameSpy2
3-
from ..result_handler import ResultHandler
3+
from .result_handler import ResultHandler
44

55

66
handler = ResultHandler('test_gamespy2')

tests/protocols/test_gamespy3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
from opengsq.protocols.gamespy3 import GameSpy3
3-
from ..result_handler import ResultHandler
3+
from .result_handler import ResultHandler
44

55

66
handler = ResultHandler('test_gamespy3')

tests/protocols/test_gamespy4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
from opengsq.protocols.gamespy4 import GameSpy4
3-
from ..result_handler import ResultHandler
3+
from .result_handler import ResultHandler
44

55

66
handler = ResultHandler('test_gamespy4')

tests/protocols/test_quake1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
from opengsq.protocols.quake1 import Quake1
3-
from ..result_handler import ResultHandler
3+
from .result_handler import ResultHandler
44

55

66
handler = ResultHandler('test_quake1')

tests/protocols/test_quake2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
from opengsq.protocols.quake2 import Quake2
3-
from ..result_handler import ResultHandler
3+
from .result_handler import ResultHandler
44

55

66
handler = ResultHandler('test_quake2')

tests/protocols/test_quake3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
from opengsq.protocols.quake3 import Quake3
3-
from ..result_handler import ResultHandler
3+
from .result_handler import ResultHandler
44

55

66
handler = ResultHandler('test_quake3')

tests/protocols/test_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22
from opengsq.protocols.source import Source
3-
from ..result_handler import ResultHandler
3+
from .result_handler import ResultHandler
44

55

66
handler = ResultHandler('test_source')

0 commit comments

Comments
 (0)