Skip to content

Commit

Permalink
uate test
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed Aug 6, 2020
1 parent 13ed5d0 commit a778cd8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ containers. If you prefer, you can build the container images locally as well.
:alt: Documentation Status


:Python version: Python 3.6, 3.7.3
:Python version: Python 3.6, 3.7.3, 3.7, 3.8
:Source: See `http://github.com/cokelaer/damona <https://github.com/cokelaer/damona/>`__.
:Issues: Please fill a report on `github <https://github.com/cokelaer/damona/issues>`__

Expand Down
2 changes: 1 addition & 1 deletion doc/joss/paper.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Damona: singularity recipes and images for end-users"
title: "Damona: a singularity environment manager for developers and end-users"
tags:
- singularity
- python
Expand Down
6 changes: 6 additions & 0 deletions test/test_damona.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ def test_damona_app():
assert results.exit_code == 0

import damona
results = runner.invoke(env, [])
# wrong
results = runner.invoke(env, ["--create", ".dummy_test", "--delete", ".dummy_test"])
# good
results = runner.invoke(env, ["--create", ".dummy_test"])
assert results.exit_code == 0
results = runner.invoke(env, ["--create", ".dummy_test"])
assert results.exit_code == 0
results = runner.invoke(activate, [".dummy_test"])
assert results.exit_code == 0

import mock
with mock.patch.object(builtins, 'input', lambda _: 'y'):
Expand Down

0 comments on commit a778cd8

Please sign in to comment.