fix linter

This commit is contained in:
Adeeb Shihadeh
2020-07-29 14:09:00 -07:00
parent 87c10d3346
commit 566152fc29

View File

@@ -25,7 +25,7 @@ class TestServices(unittest.TestCase):
def test_generated_header(self):
with tempfile.NamedTemporaryFile(suffix=".h") as f:
ret = os.system(f"python3 {services.__file__} > {f.name} && clang++ {f.name}")
self.assertEqual(ret, 0, f"generated services header is not valid C")
self.assertEqual(ret, 0, "generated services header is not valid C")
if __name__ == "__main__":
unittest.main()