Commits

Kirill Simonov  committed 2d5d3d3

Updated pbbt extension to reflect API changes.

  • Participants
  • Parent commits 6a336bb

Comments (0)

Files changed (1)

File test/regress.py

 #
 
 
-from pbbt import Test, Field, TestCaseMixin, RunAndCompareMixin
+from pbbt import Test, Field, BaseCase, MatchCase
 from pbbt.check import choiceof, maybe, oneof, listof, tupleof, dictof
 from pbbt.std import is_filename, to_identifier
 import re
 
 
 @Test
-class SQLCase(TestCaseMixin):
+class SQLCase(BaseCase):
 
     class Input:
         connect = Field(maybe(oneof(str, dictof(str, object))))
 
 
 @Test
-class DBCase(TestCaseMixin):
+class DBCase(BaseCase):
 
     class Input:
         db = Field(maybe(oneof(str, dictof(str, object))))
 
 
 @Test
-class DBLoadCase(TestCaseMixin):
+class DBLoadCase(BaseCase):
 
     class Input:
         load = Field(str)
 
 
 @Test
-class QueryCase(RunAndCompareMixin):
+class QueryCase(MatchCase):
 
     class Input:
         uri = Field(str)
 
 
 @Test
-class CtlCase(RunAndCompareMixin):
+class CtlCase(MatchCase):
 
     class Input:
         ctl = Field(listof(str))
 
 
 @Test
-class StartCtlCase(TestCaseMixin):
+class StartCtlCase(BaseCase):
 
     class Input:
         start_ctl = Field(listof(str))
 
 
 @Test
-class EndCtlCase(RunAndCompareMixin):
+class EndCtlCase(MatchCase):
 
     class Input:
         end_ctl = Field(listof(str))