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

Commit 68ab29c

Browse files
committed
confine account to first one
1 parent 7e88785 commit 68ab29c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CloudFlare/tests/test_workers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def test_find_account(find_name=None):
3535
print('%s: Error %d=%s' % (find_name, int(e), str(e)), file=sys.stderr)
3636
exit(0)
3737
assert len(accounts) > 0 and len(accounts) <= 10
38-
n = random.randrange(len(accounts))
38+
# n = random.randrange(len(accounts))
39+
# stop using a random account - use the primary account (i.e. the zero'th one)
40+
n = 0
3941
account_name = accounts[n]['name']
4042
account_id = accounts[n]['id']
4143
assert len(account_id) == 32

0 commit comments

Comments
 (0)