Skip to content

Commit c9dd172

Browse files
committed
Test clean-up: Whitespace, test names with only first leter with caps, ...
1 parent b6dfe8e commit c9dd172

4 files changed

Lines changed: 36 additions & 36 deletions

File tree

atest/libs/arguments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def one_argument(self, arg):
1414
def two_arguments(self, arg1, arg2):
1515
return self._format(arg1, arg2)
1616

17-
def seven_arguments(self, arg1, arg2, arg3, arg4, arg5, arg6, arg7):
18-
return self._format(arg1, arg2, arg3, arg4, arg5, arg6, arg7)
17+
def six_arguments(self, arg1, arg2, arg3, arg4, arg5, arg6):
18+
return self._format(arg1, arg2, arg3, arg4, arg5, arg6)
1919

2020
def arguments_with_default_values(self, arg1, arg2='2', arg3=3):
2121
return self._format(arg1, arg2, arg3)

atest/tests/argument_counts.txt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
*** Settings ***
2-
Resource resource.txt
3-
Suite Setup Start And Import Remote Library arguments.py
4-
Test Template Arguments Should Be Accepted
5-
Suite Teardown Stop Remote Library
2+
Resource resource.txt
3+
Suite Setup Start And Import Remote Library arguments.py
4+
Test Template Arguments Should Be Accepted
5+
Suite Teardown Stop Remote Library
66

77
*** Test Cases ***
8-
No Arguments
9-
${EMPTY} No Arguments
8+
No arguments
9+
${EMPTY} No Arguments
1010

11-
Required Arguments
12-
some argument One Argument some argument
13-
arg1, arg2 Two Arguments arg1 arg2
14-
1, 2, 3, 4, 5, 6, 7 Seven Arguments 1 2 3 4 5 6 7
11+
Required arguments
12+
some argument One Argument some argument
13+
arg1, arg2 Two Arguments arg1 arg2
14+
1, 2, 3, 4, 5, 6 Six Arguments 1 2 3 4 5 6
1515

16-
Arguments With Default Values
17-
one, two, three Arguments With Default Values one two three
18-
one, two, 3 Arguments With Default Values one two
19-
one, 2, 3 Arguments With Default Values one
16+
Arguments with default values
17+
one, two, three Arguments With Default Values one two three
18+
one, two, 3 Arguments With Default Values one two
19+
one, 2, 3 Arguments With Default Values one
2020

21-
Variable Number Of Arguments
22-
${EMPTY} Variable Number Of Arguments
23-
One argument Variable Number Of Arguments One argument
24-
3, args, now Variable Number Of Arguments 3 args now
25-
1, 2, 3, 4, 5 Variable Number Of Arguments 1 2 3 4 5
21+
Variable number of arguments
22+
${EMPTY} Variable Number Of Arguments
23+
One argument Variable Number Of Arguments One argument
24+
3, args, now Variable Number Of Arguments 3 args now
25+
1, 2, 3, 4, 5 Variable Number Of Arguments 1 2 3 4 5
2626

27-
Required Arguments, Default Values and Varargs
28-
Hello, world Required Defaults And Varargs Hello
29-
Hi, tellus Required Defaults And Varargs Hi tellus
30-
Hei, taas, maa Required Defaults And Varargs Hei taas maa
31-
1, 2, 3, 4, 5 Required Defaults And Varargs 1 2 3 4 5
27+
Required arguments, default values and varargs
28+
Hello, world Required Defaults And Varargs Hello
29+
Hi, tellus Required Defaults And Varargs Hi tellus
30+
Hei, taas, maa Required Defaults And Varargs Hei taas maa
31+
1, 2, 3, 4, 5 Required Defaults And Varargs 1 2 3 4 5
3232

3333
*** Keywords ***
3434
Arguments Should Be Accepted
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
*** Settings ***
2-
Resource resource.txt
3-
Suite Setup Start And Import Remote Library arguments.py
4-
Suite Teardown Stop Remote Library
2+
Resource resource.txt
3+
Suite Setup Start And Import Remote Library arguments.py
4+
Suite Teardown Stop Remote Library
55

66
*** Test Cases ***
7-
Using Arguments When No Accepted
7+
Using arguments when no accepted
88
[Documentation] FAIL Keyword 'Remote.No Arguments' expected 0 arguments, got 1.
99
No Arguments not allowed
1010

11-
Too Few Arguments When Using Only Required Args
11+
Too few arguments when using only required arguments
1212
[Documentation] FAIL Keyword 'Remote.One Argument' expected 1 argument, got 0.
1313
One Argument
1414

15-
Too Many Arguments When Using Only Required Args
15+
Too many arguments when using only required arguments
1616
[Documentation] FAIL Keyword 'Remote.Two Arguments' expected 2 arguments, got 3.
1717
Two Arguments too many arguments
1818

19-
Too Few Arguments When Using Default Values
19+
Too few arguments when using default values
2020
[Documentation] FAIL Keyword 'Remote.Arguments With Default Values' expected 1 to 3 arguments, got 0.
2121
Arguments With Default Values
2222

23-
Too Many Arguments When Using Default Values
23+
Too many arguments when using default values
2424
[Documentation] FAIL Keyword 'Remote.Arguments With Default Values' expected 1 to 3 arguments, got 5.
2525
Arguments With Default Values this is way too much
2626

27-
Too Few Arguments When Using Varargs
27+
Too few arguments when using varargs
2828
[Documentation] FAIL Keyword 'Remote.Required Defaults And Varargs' expected at least 1 argument, got 0.
2929
Required Defaults And Varargs

atest/tests/argument_types.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ASCII string
1414
u'Hello, world!'
1515
'Hello, world!'
1616

17-
Non-ASCII String
17+
Non-ASCII string
1818
u'Hyv\\xe4'
1919
u'\\u2603'
2020

0 commit comments

Comments
 (0)