MCPcopy Create free account
hub / github.com/StackStorm/st2 / FakeRuleModel

Class FakeRuleModel

st2common/tests/unit/test_db_base.py:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51class FakeRuleModel(stormbase.StormBaseDB):
52 boolean_field = mongoengine.BooleanField()
53 datetime_field = mongoengine.DateTimeField()
54 dict_field = mongoengine.DictField()
55 integer_field = mongoengine.IntField()
56 list_field = mongoengine.ListField()
57 embedded_doc_field = mongoengine.EmbeddedDocumentField(FakeRuleSpecDB)
58
59
60class TestBaseModel(DbTestCase):

Callers 1

test_rule_printMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_rule_printMethod · 0.68