We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aef3a1 commit cd23618Copy full SHA for cd23618
.travis.yml
@@ -0,0 +1,7 @@
1
+language: python
2
+dist: bionic
3
+python:
4
+ - "3.6"
5
+ - "3.7"
6
+script:
7
+ - python3 -m unittest discover
test.py
@@ -0,0 +1,17 @@
+import json
+from pathlib import Path
+import unittest
+
+class TestIndexSanity(unittest.TestCase):
+ def setUp(self):
8
+ self.root = Path(".")
9
+ with (self.root / "index.json").open() as fin:
10
+ self.index = json.load(fin)
11
12
+ def test_meta_dir(self):
13
+ for model_kind in self.index["meta"]:
14
+ self.assertTrue((self.root / model_kind).exists())
15
16
+if __name__ == '__main__':
17
+ unittest.main()
0 commit comments