예제 #1
0
def there_should_be_an_indicator_named(name):
    world.assertEquals(world.indicator.name, name)
예제 #2
0
def the_error_output_should_be(match):
	world.assertEquals(world.stderr, match)
예제 #3
0
def the_output_is_shown_with(expected_lines):
	lines = world.popen['zenity'].stdin.getvalue().rstrip()
	print repr(lines)
	# ignore the two-line header
	lines = "\n".join(lines.splitlines()[2:])
	world.assertEquals(lines, expected_lines)
예제 #4
0
def the_output_should_be(match):
	world.assertEquals(world.stdout, match)