Skip to content

Commit

Permalink
Adjusted integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikl committed Jan 20, 2017
1 parent 49309d2 commit 754ead8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/tools/OmeroWeb/test/integration/test_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,12 @@ def expected_wells(user, wells):
for well in wells:
rName = unwrap(well.plate.rowNamingConvention)
cName = unwrap(well.plate.columnNamingConvention)
pName = unwrap(well.plate.name)
row = well.row.val
col = well.column.val
rowname = str(row + 1) if rName == 'number' else _letterGridLabel(row)
colname = _letterGridLabel(col) if cName == 'letter' else str(col + 1)
name = "%s%s" % (rowname, colname)
name = "%s - %s%s" % (pName, rowname, colname)
expected.append({
'id': well.id.val,
'name': name,
Expand Down

0 comments on commit 754ead8

Please sign in to comment.