Skip to content

Commit

Permalink
remove xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
shapiromatron committed Aug 21, 2024
1 parent 1c83cbe commit 538c3da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion tests/analysis/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ def test_dichotomous(self, complete_dichotomous, data_path, rewrite_data_files):
write_excel(df, data_path / "reports/dichotomous.xlsx")
(data_path / "reports/dichotomous.docx").write_bytes(docx.getvalue())

@pytest.mark.xfail
def test_nested_dichotomous(self, bmds_complete_nd, data_path, rewrite_data_files):
analysis = Analysis.objects.create(inputs=bmds_complete_nd)

Expand Down
3 changes: 1 addition & 2 deletions tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def test_dichotomous(self):
page2.get_by_role("link", name="Logic").click()
expect(page2.get_by_role("cell", name="Decision Logic")).to_be_visible()

@pytest.mark.xfail
def test_nested_dichotomous(self):
page = self.page
page.goto(self.url("/"))
Expand Down Expand Up @@ -186,7 +185,7 @@ def test_nested_dichotomous(self):
expect(page.locator("#frequentist-model-result tbody tr")).to_have_count(5)

# check one result
page.get_by_role("link", name="Nested Logistic (lsc+ilc-)*").click()
page.get_by_role("link", name="Nested Logistic (lsc+ilc-)").click()
expect(page.get_by_role("dialog")).to_contain_text("Nested Logistic (lsc+ilc-)")
page.locator("#close-modal").click()

Expand Down

0 comments on commit 538c3da

Please sign in to comment.