Skip to content

Commit

Permalink
tests: move utils
Browse files Browse the repository at this point in the history
  • Loading branch information
tsypuk committed Jul 27, 2023
1 parent 92ddf38 commit 167db1a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ venv/

dist/
/__pycache__/
*/__pycache__
tests/__pycache__/
multicloud_diagrams/__pycache__/
*.iml
Expand Down
2 changes: 1 addition & 1 deletion tests/test_aws_vertecies.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from multicloud_diagrams import MultiCloudDiagrams
import xml.etree.ElementTree as et

from tests.test_utils import TestUtilities
from utils.utils import TestUtilities


class TestMultiCloudDiagramsAWSVertecies(TestUtilities):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mcd.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from multicloud_diagrams import MultiCloudDiagrams
import xml.etree.ElementTree as et

from tests.test_utils import TestUtilities
from utils.utils import TestUtilities


class TestMultiCloudDiagramsDefaultDrawIO(TestUtilities):
Expand Down
4 changes: 2 additions & 2 deletions tests/test_utils.py → utils/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from unittest import TestCase
import unittest


class TestUtilities(TestCase):
class TestUtilities(unittest.TestCase):

def verify_mx_cell(self, mx_cell, expected):
# then
Expand Down

0 comments on commit 167db1a

Please sign in to comment.