Fix :reload test when :stop is skipped.

I don't know why, but :stop being skipped causes something to be cached with
hello2.txt.
This commit is contained in:
Florian Bruhin 2016-01-05 22:46:52 +01:00
parent 0ce9b28da7
commit f943891ce6
2 changed files with 5 additions and 4 deletions

View File

View File

@ -119,6 +119,7 @@ Feature: Various utility commands.
# :stop/:reload # :stop/:reload
# WORKAROUND for https://bitbucket.org/cherrypy/cherrypy/pull-requests/117/
@not_osx @not_osx
Scenario: :stop Scenario: :stop
Given I have a fresh instance Given I have a fresh instance
@ -136,12 +137,12 @@ Feature: Various utility commands.
# no request on / because we stopped the redirect # no request on / because we stopped the redirect
Scenario: :reload Scenario: :reload
When I open data/hello.txt When I open data/reload.txt
And I run :reload And I run :reload
And I wait until data/hello.txt is loaded And I wait until data/reload.txt is loaded
Then the requests should be: Then the requests should be:
data/hello.txt data/reload.txt
data/hello.txt data/reload.txt
Scenario: :reload with force Scenario: :reload with force
When I open headers When I open headers