Skip to content

Commit

Permalink
fixes to enable TEST_DATMO_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
asampat3090 committed Apr 12, 2018
1 parent 48f7a2e commit a2da233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $ pip install recommonmark
```
$ pip install pytest pytest-cov
$ pip install coveralls
$ export TEST_DATMO_DIR="/mydir"
$ export TEST_DATMO_DIR="/mydir" # Must be an absolute path
$ python -m pytest --cov-config .coveragerc --cov=datmo
```

Expand Down
2 changes: 1 addition & 1 deletion datmo/cli/driver/test/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_prompt(self):
sys.stdin = f
i = cli.prompt("what is this test?")
assert i == test_message
os.remove("test.txt")
os.remove(os.path.join(self.temp_dir, "test.txt"))

# TODO: figure out how to replace "print" with a testable function
# https://stackoverflow.com/questions/4219717/how-to-assert-output-with-nosetest-unittest-in-python
Expand Down

0 comments on commit a2da233

Please sign in to comment.