Пример #1
0
 def generate(self, _):
     self.value = "{{ composed: {} }}".format(dv.boolean())
Пример #2
0
 def generate(self, _):
     self.value = "{{ capture: {}, once: {}, passive: {} }}".format(
         dv.boolean(), dv.boolean(), dv.boolean())
Пример #3
0
 def generate(self, _):
     self.value = "{{ flatten: {} }}".format(dv.boolean())
Пример #4
0
 def generate(self, _):
     self.value = dv.boolean()
Пример #5
0
 def generate(self, _):
     self.value = "{{ attributeOldValue: {}, attributes: {}, characterData: {}, " \
                  "characterDataOldValue: {}, childList: {}, subtree:{} }}".format(
         dv.boolean(), dv.boolean(), dv.boolean(), dv.boolean(), dv.boolean(), dv.boolean())
Пример #6
0
 def generate(self, _):
     self.value = "{{mode: \"{}\", delegatesFocus: {}}}".format(
         Random.choice(["open", "closed"]), dv.boolean())