Skip to content

Commit 7ff2b30

Browse files
committed
Test for keys in supported_formats.
1 parent a31c4d3 commit 7ff2b30

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/test_catalog.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from __future__ import print_function
2+
3+
import unittest
4+
from pattern_for_tests import *
5+
6+
7+
class TestDataCatalog(unittest.TestCase):
8+
9+
def test_catalog_files(self):
10+
for f in EmbPattern.supported_formats():
11+
self.assertIn("extensions", f)
12+
self.assertIn("extension", f)
13+
self.assertIn("description", f)
14+
self.assertIn("category", f)

0 commit comments

Comments
 (0)