Skip to content

Commit

Permalink
chore(test): disable test on win32 (#1273)
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Oct 18, 2024
1 parent 4b60053 commit 86c8c7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/web_api/test_variables.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json
import re
import sys
from http import client

import pytest
Expand Down Expand Up @@ -70,6 +71,9 @@ def test_input_variable_value(expected_values, input_variable_response) -> None:
check_input_variable_value(*expected_values, input_variable=input_variable)


# TODO(Mauko Quiroga-Alvarado): Fix this test
# https://github.com/openfisca/openfisca-core/issues/962
@pytest.mark.skipif(sys.platform == "win32", reason="Does not work on Windows.")
def test_input_variable_github_url(test_client) -> None:
input_variable_response = test_client.get("/variable/income_tax")
input_variable = json.loads(input_variable_response.data.decode("utf-8"))
Expand Down Expand Up @@ -102,6 +106,9 @@ def test_variable_value(expected_values, test_client) -> None:
check_variable_value(*expected_values, variable=variable)


# TODO(Mauko Quiroga-Alvarado): Fix this test
# https://github.com/openfisca/openfisca-core/issues/962
@pytest.mark.skipif(sys.platform == "win32", reason="Does not work on Windows.")
def test_variable_formula_github_link(test_client) -> None:
variable_response = test_client.get("/variable/income_tax")
variable = json.loads(variable_response.data.decode("utf-8"))
Expand Down

0 comments on commit 86c8c7b

Please sign in to comment.