Skip to content

Commit e37469c

Browse files
committed
fixed tests
1 parent 3876c37 commit e37469c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/acceptance/mimesis_tests.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Fake MAC Address Has Six Octets
114114
Fake HTTP Method Is Valid
115115
[Documentation] Verify Fake HTTP Method returns a known HTTP verb.
116116
${method}= Fake HTTP Method
117-
Should Be True '${method}' in ['GET','POST','PUT','DELETE','PATCH','HEAD','OPTIONS']
117+
Should Be True '${method}' in ['GET','POST','PUT','DELETE','PATCH','HEAD','OPTIONS','CONNECT','TRACE']
118118

119119
# ---------------------------------------------------------------------------
120120
# Code

tests/unit/test_keywords.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_fake_slug_returns_string(self, lib):
145145

146146
def test_fake_http_method_valid(self, lib):
147147
method = lib.fake_http_method()
148-
assert method in {"GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"}
148+
assert method in {"GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS", "CONNECT", "TRACE"}
149149

150150
def test_fake_port_in_range(self, lib):
151151
port = lib.fake_port()

0 commit comments

Comments
 (0)