Skip to content

Commit 4a13f7f

Browse files
authored
Merge pull request #49 from desultory/tests
implement tests as unittests
2 parents ade196c + 669ac1e commit 4a13f7f

File tree

2 files changed

+16
-43
lines changed

2 files changed

+16
-43
lines changed

tests/example.toml

Lines changed: 0 additions & 43 deletions
This file was deleted.

tests/test_ugrd.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from unittest import TestCase, main
2+
3+
from ugrd.initramfs_generator import InitramfsGenerator
4+
5+
from zenlib.logging import loggify
6+
7+
8+
@loggify
9+
class TestCpio(TestCase):
10+
def test_fullauto(self):
11+
generator = InitramfsGenerator(logger=self.logger, config='fullauto.toml')
12+
generator.build()
13+
14+
15+
if __name__ == '__main__':
16+
main()

0 commit comments

Comments
 (0)