Skip to content

Commit 2fc00a1

Browse files
author
Worvast
authored
Merge pull request #51 from Worvast/release-next
Fixed in common test
2 parents d53550f + 1507024 commit 2fc00a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/common/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def test_load_config(self):
1313
with self.assertRaises(Exception) as context:
1414
config.load_config(self.config_path + ".ini")
1515

16-
self.assertTrue("Configuration file type unknown or not supportted: %s%stestfile_config.ini" % \
17-
(os.path.dirname(os.path.abspath(__file__)), os.sep) in str(context.exception))
16+
self.assertTrue("Configuration file type unknown or not supportted"
17+
in str(context.exception))
1818

1919
def test_load_directly(self):
2020
config = Configuration(self.config_path + ".yaml")

0 commit comments

Comments
 (0)