Skip to content

Commit

Permalink
#177 Fixing unit tests when using Python <= 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dortegau committed Apr 12, 2020
1 parent af3c460 commit fe3602a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_app_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class TestServer(unittest.TestCase):
TEST_CONFIG_FILES_PATH = 'tests/data/'
TEST_CONFIG_FILES_PATH = './tests/data/'
DEFAULT_CONFIG_RELATIVE_PATH = './prom2teams/config.ini'

def test_get_config_with_invalid_path(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_json_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from deepdiff import DeepDiff

class TestJSONFields(unittest.TestCase):
TEST_CONFIG_FILES_PATH = 'tests/data/json_files/'
TEST_CONFIG_FILES_PATH = './tests/data/json_files/'

def test_json_with_all_fields(self):
with open(os.path.join(self.TEST_CONFIG_FILES_PATH, 'all_ok.json')) as json_data:
Expand Down

0 comments on commit fe3602a

Please sign in to comment.