Skip to content

Commit 5e40618

Browse files
committed
tests: skip tests hitting github when run on github
1 parent 264bb16 commit 5e40618

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pins/tests/test_constructors.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def check_cache_file_path(p_file, p_cache):
3232

3333
# there are two facets of boards: reading and writing.
3434
# copied from test_compat
35+
@pytest.mark.skip_on_github
3536
def test_constructor_board_url_data(tmp_cache, http_example_board_path, df_csv):
3637
board = c.board_urls(
3738
http_example_board_path,
@@ -46,6 +47,7 @@ def test_constructor_board_url_data(tmp_cache, http_example_board_path, df_csv):
4647

4748

4849
@pytest.mark.xfail
50+
@pytest.mark.skip_on_github
4951
def test_constructor_board_url_cache(tmp_cache, http_example_board_path, df_csv):
5052
# TODO: downloading a pin does not put files in the same directory, since
5153
# in this case we are hashing on the full url.
@@ -71,6 +73,7 @@ def test_constructor_board_url_cache(tmp_cache, http_example_board_path, df_csv)
7173
check_cache_file_path(res[0], parent)
7274

7375

76+
@pytest.mark.skip_on_github
7477
def test_constructor_board_github(tmp_cache, http_example_board_path, df_csv):
7578
board = c.board_github("machow", "pins-python", EXAMPLE_REL_PATH) # noqa
7679

0 commit comments

Comments
 (0)