Skip to content

Commit 02f291a

Browse files
committedJun 19, 2017
WIP Use a data factory for Phabricator mock responses
Using carefully-crafted test data fixtures can lead to brittle tests and difficult-to-construct test scenarios in our integration tests. Writing tests is easier when fixtures are generated with test data factories instead.
1 parent 9a86593 commit 02f291a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎tests/test_dockerflow.py

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import json
66

7-
from tests.conftest import versionfile, app
8-
97

108
def test_dockerflow_lb_endpoint_returns_200(client):
119
assert client.get('/__lbheartbeat__').status_code == 200

0 commit comments

Comments
 (0)
Failed to load comments.