Skip to content

Commit

Permalink
Merge pull request #12731 from mantidproject/revert-841-revert-836-11…
Browse files Browse the repository at this point in the history
…880_fix_squish

Revert "Revert "Fix squish tests""
  • Loading branch information
eXeC64 committed Jun 4, 2015
2 parents d86a829 + 14b4ca3 commit f10875f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -72,7 +72,7 @@ def do_test_minimal(test_harness):
column_index = 0

# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")

# Set the run number
tbl.item(row_index, column_index).setText(str(run_number))
Expand Down Expand Up @@ -102,7 +102,7 @@ def do_test_transmission(test_harness):
row_index = 0

# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")

# Set the run number
tbl.item(row_index, 0).setText(str(run_number))
Expand Down Expand Up @@ -131,7 +131,7 @@ def do_test_reuse_transmission(test_harness):
row_index = 0

# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")

# Set the first run number
tbl.item(row_index, 0).setText(str(run_number1))
Expand Down Expand Up @@ -166,7 +166,7 @@ def do_test_stitch_output(test_harness):
row_index = 0

# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")

# Set the stitched state
ck_stitched = waitForObject(':tableMain_QCheckBox')
Expand Down Expand Up @@ -207,7 +207,7 @@ def do_test_three_runs(test_harness):
row_index = 0

# Fetch the table
tbl = waitForObject(":splitterList.tableMain_QTableWidget")
tbl = waitForObject("{name='tableMain' type='QTableWidget'}")

# Set the first run number
tbl.item(row_index, 0).setText(str(run_number1))
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/scripts/Interface/ui/reflectometer/refl_gui.py
Expand Up @@ -32,7 +32,7 @@



class ReflGui(QtGui.QMainWindow, refl_window.Ui_windowRefl):
class ReflGui(QtGui.QMainWindow, ui_refl_window.Ui_windowRefl):

current_instrument = None
current_table = None
Expand Down

0 comments on commit f10875f

Please sign in to comment.