Skip to content

Commit 46955d3

Browse files
committed
Splits url warning tests
1 parent b4b6a92 commit 46955d3

File tree

2 files changed

+23
-12
lines changed

2 files changed

+23
-12
lines changed

atests/test_request_on_session.robot

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,3 @@ Options Request Expect A Success On Unauthorized Request
275275
[Tags] options
276276
${resp}= OPTIONS On Session ${GLOBAL_SESSION} /status/401 expected_status=200
277277
Status Should Be OK ${resp}
278-
279-
Named URL with = symbol should not have warnings
280-
GET On Session ${GLOBAL_SESSION} url=/anything?a=a&b=b
281-
282-
Positional URL with = symbol
283-
Run Keyword And Expect Error TypeError:* GET On Session ${GLOBAL_SESSION} /anything?a=a&b=b
284-
285-
Positional URL with '' should not have warnings
286-
GET On Session ${GLOBAL_SESSION} ${Empty}
287-
288-
Positional URL with None should not have warnings
289-
GET On Session ${GLOBAL_SESSION} ${None}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
*** Settings ***
2+
Library Collections
3+
Library String
4+
Library RequestsLibrary
5+
Resource res_setup.robot
6+
7+
Suite Setup Setup Flask Http Server
8+
Suite Teardown Teardown Flask Http Server And Sessions
9+
10+
*** Test Cases ***
11+
12+
Named URL with = symbol should not have warnings
13+
GET On Session ${GLOBAL_SESSION} url=/anything?a=a&b=b
14+
15+
Positional URL with = symbol
16+
Run Keyword And Expect Error TypeError:* GET On Session ${GLOBAL_SESSION} /anything?a=a&b=b
17+
18+
Positional URL with '' should not have warnings
19+
GET On Session ${GLOBAL_SESSION} ${Empty}
20+
21+
Positional URL with None should not have warnings
22+
GET On Session ${GLOBAL_SESSION} ${None}
23+

0 commit comments

Comments
 (0)