new tests architecture
This commit is contained in:
parent
843db82d8a
commit
9c7f585753
7 changed files with 25 additions and 79 deletions
|
|
@ -77,8 +77,6 @@ class BaseBackend(object):
|
|||
STORAGE = {}
|
||||
# Browser class
|
||||
BROWSER = None
|
||||
# Test class
|
||||
TEST = None
|
||||
# Supported objects to fill
|
||||
# The key is the class and the value the method to call to fill
|
||||
# Method prototype: method(object, fields)
|
||||
|
|
@ -194,11 +192,6 @@ class BaseBackend(object):
|
|||
return True
|
||||
return False
|
||||
|
||||
def get_test(self):
|
||||
if not self.TEST:
|
||||
return None
|
||||
return self.TEST(self)
|
||||
|
||||
def fillobj(self, obj, fields):
|
||||
missing_fields = []
|
||||
for field in fields:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue