Skip to content

Commit

Permalink
mark extended sandbox tests as disabled if running under travis-ci
Browse files Browse the repository at this point in the history
- These download too much data over the network and do too much
  work. These tests should never have been enabled for travis
  and have been disabled going forward until a proper mock
  is put into place.
  • Loading branch information
abg committed Jul 31, 2014
1 parent 606a879 commit d844e7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import os
import tarfile

import pytest

from click.testing import CliRunner

from dbsake.cli.cmd.sandbox import sandbox_cli
Expand All @@ -18,6 +20,8 @@ def test_sandbox_system():
assert result.exit_code == 0


@pytest.mark.skipif(os.environ.get('TRAVIS', 'false') == 'true',
reason="Skipping sandbox CDN tests on travis-ci")
def test_sandbox_50():
runner = CliRunner()
with runner.isolated_filesystem():
Expand Down

0 comments on commit d844e7c

Please sign in to comment.