Skip to content

Commit

Permalink
test: cover resources with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Jun 7, 2017
1 parent 991c9e2 commit faa0bba
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions joblibhadoop/resources/tests/test_resources.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""Resource test module."""

import os.path
from joblibhadoop.resources import (conda_environment_filename,
ENVIRONMENT_YML_FILENAME)


def test_environment_file_exists():
"""Checks if environment file exists."""

assert os.path.exists(conda_environment_filename())
assert (os.path.basename(conda_environment_filename()) ==
ENVIRONMENT_YML_FILENAME)

0 comments on commit faa0bba

Please sign in to comment.