added mig_meow rule creation

This commit is contained in:
PatchOfScotland
2022-12-02 14:05:49 +01:00
parent 00b5449089
commit ccaca5e60e
9 changed files with 100 additions and 2 deletions

24
tests/test_meow.py Normal file
View File

@ -0,0 +1,24 @@
import unittest
from core.meow import BasePattern, BaseRecipe, BaseRule
class MeowTests(unittest.TestCase):
def setUp(self)->None:
return super().setUp()
def tearDown(self)->None:
return super().tearDown()
def testBaseRecipe(self)->None:
with self.assertRaises(TypeError):
BaseRecipe("", "")
def testBasePattern(self)->None:
with self.assertRaises(TypeError):
BasePattern("", "")
def testBaseRule(self)->None:
with self.assertRaises(TypeError):
BaseRule("", "")