Skip to content

Commit

Permalink
Fix acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlloyd committed Jan 28, 2018
1 parent bd219ad commit 32af5d0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/acceptance-tests/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def step_impl(context):
GET /basic-get HTTP/1.1
host: localhost:8080
accept-encoding: gzip
user-agent: RIF/0.1.0"""[1:]
user-agent: RIF/0.2.0"""[1:]

@given(u'a .rif file is on disk that describes a request with headers')
def step_impl(context):
Expand All @@ -20,7 +20,7 @@ def step_impl(context):
GET /basic-get HTTP/1.1
host: localhost:8080
accept-encoding: gzip
user-agent: RIF/0.1.0
user-agent: RIF/0.2.0
x-test-header: some_value"""[1:]

@given(u'a .rif file is on disk that describes a request with a body')
Expand All @@ -31,7 +31,7 @@ def step_impl(context):
host: localhost:8080
accept-encoding: gzip
content-length: 4
user-agent: RIF/0.1.0
user-agent: RIF/0.2.0
test"""[1:]

Expand Down Expand Up @@ -60,7 +60,7 @@ def step_impl(context):
GET /url-params?count=20 HTTP/1.1
host: localhost:8080
accept-encoding: gzip
user-agent: RIF/0.1.0"""[1:]
user-agent: RIF/0.2.0"""[1:]

@given(u'a .rif file is on disk that has a URL template with a default')
def step_impl(context):
Expand All @@ -70,7 +70,7 @@ def step_impl(context):
GET /url-params?count=10 HTTP/1.1
host: localhost:8080
accept-encoding: gzip
user-agent: RIF/0.1.0"""[1:]
user-agent: RIF/0.2.0"""[1:]

@given(u'a .rif file is on disk that has a header template')
def step_impl(context):
Expand All @@ -82,7 +82,7 @@ def step_impl(context):
GET /header-params HTTP/1.1
host: localhost:8080
accept-encoding: gzip
user-agent: RIF/0.1.0
user-agent: RIF/0.2.0
x-custom-header: header-value"""[1:]

@given(u'a .rif file is on disk that has a body template')
Expand All @@ -96,7 +96,7 @@ def step_impl(context):
host: localhost:8080
accept-encoding: gzip
content-length: 17
user-agent: RIF/0.1.0
user-agent: RIF/0.2.0
Value: body-value"""[1:]

Expand Down

0 comments on commit 32af5d0

Please sign in to comment.