Skip to content

Commit

Permalink
updates tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Oct 22, 2024
1 parent ba9b401 commit 959bdf6
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions tests/workspace/actions/test_ws_bulk.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def app(django_app_factory: "MixinWithInstanceVariables") -> "DjangoTestApp":
yield django_app


@pytest.mark.xfail()
def test_bulk_update_export_impl(household: "CountryHousehold", force_migrated_records):
FIELDS = [
"id",
Expand All @@ -89,7 +88,6 @@ def test_bulk_update_export_impl(household: "CountryHousehold", force_migrated_r
# f.write(ret.getvalue())


@pytest.mark.xfail()
def test_bulk_update(app: "DjangoTestApp", force_migrated_records, household: "CountryHousehold") -> None:
url = reverse("workspace:workspaces_countryindividual_changelist")
FIELDS = [
Expand Down
2 changes: 0 additions & 2 deletions tests/workspace/actions/test_ws_mass_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def app(
yield django_app


@pytest.mark.xfail()
def test_mass_update_impl(household):
from country_workspace.models import Household

Expand All @@ -72,7 +71,6 @@ def test_mass_update_impl(household):
assert household.flex_fields["address"] == "__NEW VALUE__"


@pytest.mark.xfail()
def test_mass_update(app: "DjangoTestApp", household: "CountryHousehold") -> None:
url = reverse("workspace:workspaces_countryhousehold_changelist")
res = app.get(url).follow()
Expand Down
2 changes: 0 additions & 2 deletions tests/workspace/actions/test_ws_regex.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def app(
yield django_app


@pytest.mark.xfail()
def test_regex_update_impl(household):
from country_workspace.models import Household

Expand All @@ -70,7 +69,6 @@ def test_regex_update_impl(household):
assert household.flex_fields["address"] == "__NEW VALUE__"


@pytest.mark.xfail()
def test_regex_update(app: "DjangoTestApp", force_migrated_records, household: "CountryHousehold") -> None:
url = reverse("workspace:workspaces_countryhousehold_changelist")
res = app.get(url).follow()
Expand Down
1 change: 0 additions & 1 deletion tests/workspace/test_ws_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def app(django_app_factory: "MixinWithInstanceVariables") -> "DjangoTestApp":
yield django_app


@pytest.mark.xfail()
def test_import_rdi(force_migrated_records, app, program):
res = app.get("/").follow()
res.forms["select-tenant"]["tenant"] = program.country_office.pk
Expand Down

0 comments on commit 959bdf6

Please sign in to comment.