def test_prepare_act(self): y = LainYaml(ignore_prepare=True) assert y.act == False y.init_act(YAML, ignore_prepare=True) assert y.act == True assert len(y.img_names) == 5 assert len(y.img_temps) == 5 assert len(y.img_builders) == 5 y = LainYaml(YAML, ignore_prepare=True) assert y.act == True assert len(y.img_names) == 5 assert len(y.img_temps) == 5 assert len(y.img_builders) == 5
def test_prepare_act(self): y = LainYaml(ignore_prepare=True) assert y.act == False y.init_act(YAML, ignore_prepare=True) assert y.act == True assert len(y.img_names) == 5 assert len(y.img_temps) == 5 assert len(y.img_builders) == 5 y = LainYaml(YAML, ignore_prepare=True) assert y.act == True assert len(y.img_names) == 5 assert len(y.img_temps) == 5 assert len(y.img_builders) == 5
def test_prepare_act(self): y = LainYaml(ignore_prepare=True) assert y.act == False try: y.init_act(YAML, ignore_prepare=True) except Exception: pass assert y.act == True assert len(y.img_names) == 4 assert len(y.img_temps) == 4 assert len(y.img_builders) == 4 y = LainYaml(YAML, ignore_prepare=True) assert y.act == True assert len(y.img_names) == 4 assert len(y.img_temps) == 4 assert len(y.img_builders) == 4
def test_prepare_act(self): y = LainYaml(ignore_prepare=True) assert y.act == False try: y.init_act(YAML, ignore_prepare=True) except Exception: pass assert y.act == True assert len(y.img_names) == 4 assert len(y.img_temps) == 4 assert len(y.img_builders) == 4 y = LainYaml(YAML, ignore_prepare=True) assert y.act == True assert len(y.img_names) == 4 assert len(y.img_temps) == 4 assert len(y.img_builders) == 4