Lines Matching refs:BackendResult
10 from lib.data.BackendResult import BackendResult
19 result = BackendResult(data=data, id=id)
55 """ BackendResult should fail with no input"""
57 BackendResult()
64 """ BackendResult should fail if 'submisson' is not given"""
66 BackendResult(self.value)
73 """BackendResult should fail if 'value' and 'message' are not contained in 'data'"""
76 BackendResult(data=data)
83 """BackendResult should fail if 'message' is not contained in 'data'"""
86 BackendResult(data=data)
93 """BackendResult should fail if 'value' is not contained in 'data'"""
96 BackendResult(data=data)