Fix tests
This commit is contained in:
parent
1bf4246989
commit
8af675d341
4 changed files with 4 additions and 4 deletions
|
|
@ -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')
|
||||||
|
|
@ -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):
|
||||||
|
|
@ -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."
|
||||||
|
|
@ -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):
|
||||||
Loading…
Add table
Add a link
Reference in a new issue