Skip to content

Commit

Permalink
BUG: Update test_cmatrices to new interface
Browse files Browse the repository at this point in the history
  • Loading branch information
JoostJM committed Mar 7, 2018
1 parent beb7553 commit 62cf084
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_cmatrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,18 @@ def generate_scenarios():
global testUtils

@parameterized.expand(generate_scenarios(), testcase_func_name=custom_name_func)
def test_scenario(self, testCase, featureClassName):
def test_scenario(self, test, featureClassName):
print("")
global testUtils, featureClasses

logging.debug('test_scenario: testCase = %s, featureClassName = %s', testCase, featureClassName)
logging.debug('test_scenario: testCase = %s, featureClassName = %s', test, featureClassName)

assert cMatsEnabled()

testUtils.setFeatureClassAndTestCase(featureClassName, testCase)
testUtils.setFeatureClassAndTestCase(featureClassName, test)

testImage = testUtils.getImage()
testMask = testUtils.getMask()
testImage = testUtils.getImage('original')
testMask = testUtils.getMask('original')

featureClass = featureClasses[featureClassName](testImage, testMask, **testUtils.getSettings())

Expand Down

0 comments on commit 62cf084

Please sign in to comment.