changed test for cern theme path

This commit is contained in:
Luis Aleixo 2021-12-02 16:51:53 +01:00
parent 344204ef1b
commit 91eee9aa5a

View file

@ -72,7 +72,7 @@ class TestBasicApp(tornado.testing.AsyncHTTPTestCase):
class TestCernApp(tornado.testing.AsyncHTTPTestCase):
def get_app(self):
cern_theme = Path(cara.apps.calculator.__file__).parent / 'themes' / 'cern'
cern_theme = Path(cara.apps.calculator.__file__).parent.parent / 'themes' / 'cern'
return cara.apps.calculator.make_app(theme_dir=cern_theme)
@tornado.testing.gen_test(timeout=_TIMEOUT)