Skip to content

Commit

Permalink
Merge pull request #50 from netjunki/master
Browse files Browse the repository at this point in the history
vars were not being processed for imported tests
  • Loading branch information
svanoort committed May 31, 2015
2 parents 0c5e707 + f025a8d commit d5f8490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyresttest/resttest.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def parse_testsets(base_url, test_structure, test_files = set(), working_directo
test_files.add(importfile)
import_test_structure = read_test_file(importfile)
with cd(os.path.dirname(os.path.realpath(importfile))):
import_testsets = parse_testsets(base_url, import_test_structure, test_files)
import_testsets = parse_testsets(base_url, import_test_structure, test_files, vars=vars)
testsets.extend(import_testsets)
elif key == u'url': #Simple test, just a GET to a URL
mytest = Test()
Expand Down

0 comments on commit d5f8490

Please sign in to comment.