diff options
| author | negasora <negasora@gmail.com> | 2018-06-06 14:28:20 -0400 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2018-07-10 18:11:09 -0400 |
| commit | 3ead1e28774663514992adea4ad2c38b0416e66d (patch) | |
| tree | d163b171b204d4b9fc6411b19a1d261401a8ecf6 /suite/unit.py | |
| parent | 5cff3bf3cc5aa11875569a6aeddf88ef867411f1 (diff) | |
Initial python API tests
Diffstat (limited to 'suite/unit.py')
| -rw-r--r-- | suite/unit.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/suite/unit.py b/suite/unit.py index e4ebad63..9a59b13f 100644 --- a/suite/unit.py +++ b/suite/unit.py @@ -10,7 +10,6 @@ import api_test import difflib - class TestBinaryNinjaAPI(unittest.TestCase): @classmethod def setUpClass(self): @@ -361,6 +360,12 @@ class TestBinaryNinjaAPI(unittest.TestCase): def test_binary___loop_constant_propagate(self): self.run_binary_test('suite/binaries/test_corpus/loop_constant_propagate.zip') + def test_binary___ls(self): + self.run_binary_test('suite/binaries/test_corpus/ls.zip') + + def test_binary___md5(self): + self.run_binary_test('suite/binaries/test_corpus/md5.zip') + def test_binary___partial_register_dataflow(self): self.run_binary_test('suite/binaries/test_corpus/partial_register_dataflow.zip') @@ -381,7 +386,6 @@ class TestBinaryNinjaAPI(unittest.TestCase): if __name__ == "__main__": - test_suite = unittest.defaultTestLoader.loadTestsFromModule(api_test) test_suite.addTest(unittest.defaultTestLoader.loadTestsFromTestCase(TestBinaryNinjaAPI)) runner = unittest.TextTestRunner(verbosity=2) |
