diff --git a/tests/test_decomp.py b/tests/test_decomp.py new file mode 100644 index 0000000..75bbf82 --- /dev/null +++ b/tests/test_decomp.py @@ -0,0 +1,29 @@ +""" +author: deadc0de6 (https://github.com/deadc0de6) +Copyright (c) 2017, deadc0de6 + +Basic unittest for ls +""" + +import unittest + +from catcli.decomp import Decomp + + +class TestDecomp(unittest.TestCase): + """test ls""" + + def test_list(self): + """test decomp formats""" + dec = Decomp() + formats = dec.get_formats() + self.assertTrue('zip' in formats) + + +def main(): + """entry point""" + unittest.main() + + +if __name__ == '__main__': + main()