Skip to content

Commit

Permalink
Test for keys in supported_formats.
Browse files Browse the repository at this point in the history
  • Loading branch information
tatarize committed Dec 21, 2021
1 parent a31c4d3 commit 7ff2b30
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/test_catalog.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from __future__ import print_function

import unittest
from pattern_for_tests import *


class TestDataCatalog(unittest.TestCase):

def test_catalog_files(self):
for f in EmbPattern.supported_formats():
self.assertIn("extensions", f)
self.assertIn("extension", f)
self.assertIn("description", f)
self.assertIn("category", f)

0 comments on commit 7ff2b30

Please sign in to comment.