Exemplo n.º 1
0
    def install_fixtures(self, fixtures):
        installed = []
        for fixture in make_list(fixtures):
            installed.append(
                self.install_fixture(fixture)
            )

        return installed
Exemplo n.º 2
0
    def install_fixtures(self, fixtures, do_not_save=False):
        installed = []
        for fixture in make_list(fixtures):
            installed.append(
                self.install_fixture(fixture, do_not_save=do_not_save)
            )

        return installed
Exemplo n.º 3
0
    def uninstall_fixtures(self, fixtures, do_not_delete=False):
        uninstalled = []
        for fixture in make_list(fixtures):
            instance = self.uninstall_fixture(
                fixture,
                do_not_delete=do_not_delete)
            if instance:
                uninstalled.append(instance)

        return uninstalled
Exemplo n.º 4
0
 def uninstall_fixtures(self, fixtures):
     for fixture in make_list(fixtures):
         self.uninstall_fixture(fixture)
Exemplo n.º 5
0
 def uninstall_fixtures(self, fixtures):
     for fixture in make_list(fixtures):
         self.uninstall_fixture(fixture)
Exemplo n.º 6
0
    def install_fixtures(self, fixtures):
        installed = []
        for fixture in make_list(fixtures):
            installed.append(self.install_fixture(fixture))

        return installed