summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/leap/soledad/server/server.tac (renamed from pkg/server.tac)0
-rw-r--r--testing/tests/server/test_tac.py4
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/server.tac b/src/leap/soledad/server/server.tac
index 1bc3dc69..1bc3dc69 100644
--- a/pkg/server.tac
+++ b/src/leap/soledad/server/server.tac
diff --git a/testing/tests/server/test_tac.py b/testing/tests/server/test_tac.py
index 3fa4e064..e825a9ce 100644
--- a/testing/tests/server/test_tac.py
+++ b/testing/tests/server/test_tac.py
@@ -26,14 +26,14 @@ import socket
import pytest
import treq
+from pkg_resources import resource_filename
from twisted.trial import unittest
from twisted.internet import defer, reactor
from twisted.internet.protocol import ProcessProtocol
from twisted.web.client import Agent
-TAC_FILE_PATH = ('..', '..', '..', '..', 'pkg', 'server.tac')
-TAC_FILE_PATH = os.path.abspath(os.path.join(__file__, *TAC_FILE_PATH))
+TAC_FILE_PATH = resource_filename('leap.soledad.server', 'server.tac')
class TacServerTestCase(unittest.TestCase):