Skip to content

Commit

Permalink
Corrected issue with ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ricleal committed Jul 6, 2017
1 parent 8f90ec4 commit 1519bd6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.10.0
current_version = 0.10.1
commit = True
tag = True

Expand Down
9 changes: 8 additions & 1 deletion tests/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ def test_submit_job_deploy_key(env, job_gen, interpreter_gen, wrapper_cls):
wrapper_cls=wrapper_cls)


@pytest.mark.skipif(
pytest.config.getoption('--ci'),
reason='Does not work on ci',
)
@pytest.mark.django_db
def test_delete_key_old_way(env):
from django_remote_submission.remote import RemoteWrapper
Expand Down Expand Up @@ -575,7 +579,10 @@ def test_delete_key_old_way(env):
with wrapper.connect(env.remote_password):
wrapper.delete_key()


@pytest.mark.skipif(
pytest.config.getoption('--ci'),
reason='Does not work on ci',
)
@pytest.mark.django_db
def test_deploy_and_delete_key(env, wrapper_cls=RemoteWrapper):
'''
Expand Down

0 comments on commit 1519bd6

Please sign in to comment.