FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 321e0edd authored by L. Bower's avatar L. Bower
Browse files

removing duplicate test call and reordering

parent 62b17ff2
No related branches found
No related tags found
No related merge requests found
......@@ -58,12 +58,11 @@ test:
- python -m coverage report
- python -m coverage html -d $CI_PROJECT_DIR/coverage
- cd $CI_PROJECT_DIR/tests/integration
- python3 -m coverage run -m unittest test_deposition.py
- python3 -m coverage run -m unittest test_advisory.py
- python3 -m coverage run -m unittest test_deposition.py
- python3 -m coverage run -m unittest test_env_suit.py
- python3 -m coverage run -m unittest test_survey.py
- python3 -m coverage run -m unittest test_advisory.py
- python3 -m coverage run -m unittest test_epi.py
- python3 -m coverage run -m unittest test_survey.py
- python -m coverage report
- python -m coverage html -d $CI_PROJECT_DIR/coverage
- ls
......
import unittest
from integration.test_test import MyTestCase
class SubTest(unittest.TestCase):
def __init__(self, methodName: str = ...) -> None:
super().__init__(methodName)
print("RUNNING SETUP")
def test_1(self):
self.assertEqual(True, True) # add assertion here
def test_2(self):
self.assertEqual(True, True) # add assertion here
def test_3(self):
self.assertEqual(True, True) # add assertion here
if __name__ == '__main__':
unittest.main()
import unittest
class MyTestCase(unittest.TestCase):
def setUp(self) -> None:
print("running setup")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment