Skip to content

Commit

Permalink
Minor tweak for test_common
Browse files Browse the repository at this point in the history
Tests might want to use files in TESTDIR that aren't in RPMDIR, so
split them into separate variables.
  • Loading branch information
wgwoods committed Aug 7, 2019
1 parent 87789c6 commit b98e7ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os

RPMDIR = os.path.join(os.path.dirname(__file__), "rpms")
TESTDIR = os.path.dirname(__file__)
RPMDIR = os.path.join(TESTDIR, "rpms")
RPMFILE = {
'fuse-common':os.path.join(RPMDIR, "fuse-common-3.5.0-1.fc30.x86_64.rpm"),
'geronimo-jta':os.path.join(RPMDIR, "geronimo-jta-1.1.1-17.el7.noarch.rpm"),
Expand Down

0 comments on commit b98e7ce

Please sign in to comment.