mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
Add unit test class
This commit is contained in:
parent
21720cc9d2
commit
0efa60a77b
1 changed files with 9 additions and 0 deletions
|
@ -260,6 +260,15 @@ class CheetahRenderTest(unittest.TestCase):
|
|||
self.assertEquals(call("/tmp/*.cheetah"), mock_glob.mock_calls[0])
|
||||
self.assertEquals(call("temp_pickle"), mock_unlink.mock_calls[0])
|
||||
|
||||
class CargoTransformTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.config_file = NamedTemporaryFile(delete=False).name
|
||||
|
||||
def tearDown(self):
|
||||
os.unlink(self.config_file)
|
||||
|
||||
def test_simple_case(self):
|
||||
self.assertIsNotNone(None)
|
||||
|
||||
class SpecTransformTest(unittest.TestCase):
|
||||
def setUp(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue