Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
Update test_webtag_data.py
Browse files Browse the repository at this point in the history
Improving testing by making test data relative to file, not project root
  • Loading branch information
textbook committed Sep 11, 2015
1 parent 2009c15 commit ce26fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/data/test_webtag_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from py_wlc.data import WebTagData
from py_wlc.economics import Discount

DATA = os.path.join(os.getcwd(), 'tests', 'data', 'test_data')
DATA = os.path.join(os.path.dirname(__file__), 'test_data')

@pytest.fixture(scope='module')
def databook():
Expand Down

0 comments on commit ce26fa8

Please sign in to comment.