Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     Admin_TestCase.__init__(self, *args, **kwargs)
     if not self.__class__.MESSAGE_BEACON:
         raise NotImplementedError(
             "you are supposed to set MESSAGE_BEACON with a string to look for in warning "
             "and error messages when inheriting from Config_reading_TestCase"
         )
Exemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     Admin_TestCase.__init__(self, *args, **kwargs)
     if not self.__class__.MESSAGE_BEACON:
         raise NotImplementedError("you are supposed to set MESSAGE_BEACON with a string to look for in warning "
                                   "and error messages when inheriting from Config_reading_TestCase")