Skip to content

Commit

Permalink
Fix unit tests due to added mode item.
Browse files Browse the repository at this point in the history
  • Loading branch information
otsaloma committed Jun 25, 2013
1 parent 6fc83ef commit d3256f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Gaupol 0.23
Gaupol 1.0
==========

* Why are the unit tests insanely slow?
* Get rid of the statusbar?
- Use a non-focusable, buttonless infobar
- Or a floating label (see nautilus, epiphany)
Expand Down
2 changes: 1 addition & 1 deletion gaupol/agents/test/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_get_menu_item(self):
self.application.get_menu_item("toggle_number_column")

def test_get_mode_action(self):
for mode in aeidon.modes:
for mode in (aeidon.modes.TIME, aeidon.modes.FRAME):
self.application.get_mode_action(mode)

def test_get_target_pages(self):
Expand Down
2 changes: 1 addition & 1 deletion gaupol/test/test_enumuim.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_framerate_actions(self):
assert action is not None

def test_mode_actions(self):
for mode in aeidon.modes:
for mode in (aeidon.modes.TIME, aeidon.modes.FRAME):
name = gaupol.mode_actions[mode]
action = self.application.get_action(name)
assert action is not None

0 comments on commit d3256f0

Please sign in to comment.