Fix tests

This commit is contained in:
simonwt 2026-04-02 16:25:59 +01:00
parent 1bf4246989
commit 8af675d341
4 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
import unittest import unittest
from utils.get_parent_pksk_from_path import get_parent_pksk_from_path from trustcafeapiwrapper.utils.get_parent_pksk_from_path import get_parent_pksk_from_path
class TestGetParentPkskFromPath(unittest.TestCase): class TestGetParentPkskFromPath(unittest.TestCase):
def test_root_path(self): def test_root_path(self):
self.assertEqual(get_parent_pksk_from_path('/'), 'maintrunk#maintrunk') self.assertEqual(get_parent_pksk_from_path('/'), 'maintrunk#maintrunk')

View file

@ -1,5 +1,5 @@
import unittest import unittest
from utils.get_post_pksk import get_post_pksk from trustcafeapiwrapper.utils.get_post_pksk import get_post_pksk
class TestGetPostPksk(unittest.TestCase): class TestGetPostPksk(unittest.TestCase):
def test_get_post_pksk(self): def test_get_post_pksk(self):

View file

@ -1,5 +1,5 @@
import unittest import unittest
from wrappers.comment.create_comment import create_comment from trustcafeapiwrapper.wrappers.comment.create_comment import create_comment
class TestCreateComment(unittest.TestCase): class TestCreateComment(unittest.TestCase):
def setUp(self): def setUp(self):
self.comment_text = "This is a test comment created via the create_comment wrapper function." self.comment_text = "This is a test comment created via the create_comment wrapper function."

View file

@ -1,5 +1,5 @@
import unittest import unittest
from wrappers.post.create_post import create_post from trustcafeapiwrapper.wrappers.post.create_post import create_post
class TestCreatePost(unittest.TestCase): class TestCreatePost(unittest.TestCase):
def setUp(self): def setUp(self):