def _fill_person_combo(self): items = Person.get_items( self.store, Person.branch != api.get_current_branch(self.store)) self.person.prefill(items)
def _fill_person_combo(self): items = Person.get_items(self.store, Person.branch != api.get_current_branch(self.store)) self.person.prefill(items)
def test_person_get_items(store, current_branch): assert Person.get_items(store, Person.branch == current_branch)