Skip to content

Commit 74deb51

Browse files
committed
Whitespace
1 parent 53dd38a commit 74deb51

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

utest/api/test_run_and_rebot.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ def test_invalid_modifier(self):
146146
"failed: AttributeError: ", 1)])
147147

148148

149-
150149
class TestRebot(RunningTestCase):
151150
data = join(ROOT, 'atest', 'testdata', 'rebot', 'created_normal.xml')
152151
nonex = join(TEMP, 'non-existing-file-this-is.xml')
@@ -172,16 +171,16 @@ def test_run_fails(self):
172171
def test_custom_stdout(self):
173172
stdout = StringIO()
174173
assert_equal(rebot(self.data, report='None', stdout=stdout,
175-
outputdir=TEMP), 1)
174+
outputdir=TEMP), 1)
176175
self._assert_output(stdout, [('Log:', 1), ('Report:', 0)])
177176
self._assert_outputs()
178177

179178
def test_custom_stdout_and_stderr_with_minimal_implementation(self):
180179
output = StreamWithOnlyWriteAndFlush()
181180
assert_equal(rebot(self.data, log='NONE', report='NONE', stdout=output,
182-
stderr=output), 252)
181+
stderr=output), 252)
183182
assert_equal(rebot(self.data, report='NONE', stdout=output,
184-
stderr=output, outputdir=TEMP), 1)
183+
stderr=output, outputdir=TEMP), 1)
185184
self._assert_output(output, [('[ ERROR ] No outputs created', 1),
186185
('--help', 1), ('Log:', 1), ('Report:', 0)])
187186
self._assert_outputs()
@@ -195,7 +194,7 @@ def visit_test(self, test):
195194
test.status = 'FAIL'
196195
modifier = Modifier()
197196
assert_equal(rebot(self.data, outputdir=TEMP,
198-
prerebotmodifier=modifier), 3)
197+
prerebotmodifier=modifier), 3)
199198
assert_equal(modifier.tests, ['Test 1.1', 'Test 1.2', 'Test 2.1'])
200199

201200

@@ -266,8 +265,8 @@ def test_different_timestamps_when_run_multiple_times(self):
266265
def run_tests(self):
267266
data = join(ROOT, 'atest', 'testdata', 'misc', 'pass_and_fail.robot')
268267
assert_equal(run(data, timestampoutputs=True, outputdir=TEMP,
269-
output='output-ts.xml', report='report-ts.html',
270-
log='log-ts'), 1)
268+
output='output-ts.xml', report='report-ts.html',
269+
log='log-ts'), 1)
271270

272271
def find_results(self, pattern, expected):
273272
matches = glob.glob(pattern)

0 commit comments

Comments
 (0)