Skip to content

Commit

Permalink
Change dictionary variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
FredLoney committed Apr 7, 2015
1 parent 5d27807 commit 411e5ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/staging/test_staging_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@


class TestStagingHelper(object):

"""staging_helper unit tests."""

def test_staging_iterator(self):
dirs = glob.glob(FIXTURE + '/Subj*')
sbj_dict = {sbj: {sess: vol_dict}
for sbj, sess, vol_dict in iter_stage('Sarcoma', *dirs)}
sbj_dict = {sbj: {sess: vol_dcm_dict}
for sbj, sess, vol_dcm_dict in iter_stage('Sarcoma', *dirs)}
expected_sbjs = set(["Sarcoma00%d" % n for n in range(1, 3)])
actual_sbjs = set(sbj_dict.keys())
assert_equal(actual_sbjs, expected_sbjs, "Subjects are incorrect: %s" %
Expand All @@ -26,3 +25,4 @@ def test_staging_iterator(self):
if __name__ == "__main__":
import nose
nose.main(defaultTest=__name__)

0 comments on commit 411e5ef

Please sign in to comment.