Make test CWD agnostic

This commit is contained in:
Josef Reidinger 2021-07-12 14:56:42 +02:00
parent c988ff7890
commit 156afbe363

View File

@ -21,7 +21,7 @@ from check_tags_in_requests import TagChecker
sys.path.append(".")
APIURL = 'http://maintenancetest.example.com'
FIXTURES = os.path.join(os.getcwd(), 'tests/fixtures')
FIXTURES = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'fixtures')
class TestTagChecker(unittest.TestCase):