Skip to content

Commit 37cea8d

Browse files
s-t-e-v-e-n-kjonbannister
authored andcommitted
pytest-server-fixtures: Correct httpd command line
Now that the config file we create is a pathlib.Path object, we must convert it to a string before we try and use it, so do so.
1 parent 21aa8c5 commit 37cea8d

File tree

1 file changed

+1
-1
lines changed
  • pytest-server-fixtures/pytest_server_fixtures

1 file changed

+1
-1
lines changed

pytest-server-fixtures/pytest_server_fixtures/httpd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def pid(self):
162162

163163
@property
164164
def run_cmd(self):
165-
return [CONFIG.httpd_executable, '-f', self.config]
165+
return [CONFIG.httpd_executable, '-f', str(self.config)]
166166

167167
def kill(self, retries=5):
168168
pid = self.pid

0 commit comments

Comments
 (0)