added mig_meow rule creation
This commit is contained in:
24
tests/test_meow.py
Normal file
24
tests/test_meow.py
Normal 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("", "")
|
Reference in New Issue
Block a user