Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit e3b2631

Browse files
committed
tuna tweeks, coverage html added
1 parent dc18d57 commit e3b2631

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ test: all
4141
then \
4242
echo $(PYTEST) --cov=CloudFlare ; \
4343
$(PYTEST) --cov=CloudFlare ; \
44+
coverage html ; \
4445
else \
4546
true ; \
4647
fi ; \
@@ -118,16 +119,15 @@ openapi:
118119
egrep ';' < $$tmp.5 | egrep -v '; deprecated' | egrep -v ' ; Content-Type: application/json' | sed -e 's/^/ /' ; \
119120
rm $$tmp.?
120121

122+
TUNA_CLI4_TEST_COMMAND = "--openapi="
121123
TUNA_CLI4_TEST_COMMAND = "/ips"
122-
TUNA_CLI4_TEST_COMMAND = "--api"
123-
TUNA_CLI4_TEST_COMMAND = "--openapi $(OPENAPI_URL)"
124124

125125
tuna:
126126
@tmp=/tmp/_$$$$_ ; \
127127
$(PYTHON) -X importtime -m cli4 $(TUNA_CLI4_TEST_COMMAND) > /dev/null 2> $$tmp.1 ; \
128128
tuna $$tmp.1 2> /dev/null & \
129129
tunapid=$$! ; \
130-
sleep 1 ; \
130+
sleep 10 ; \
131131
kill $$tunapid ; \
132132
rm $$tmp.?
133133

0 commit comments

Comments
 (0)