forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use some constants for tokens. Refactor tokenfile creation to function. Reorder some test cases to make lookups follow creates so they succeed. Add expected status code to test cases (some are not quite what expected, so filed bugs kubernetes#2112, kubernetes#2113, kubernetes#2114) Check expected status codes. Close Body after each iterations so that we don't run out of file handles when I add even more test cases in the next PR. Handle that it is unpredictable whether status 200 or 202 is returned.
- Loading branch information
Showing
1 changed file
with
148 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters