Skip to content
Snippets Groups Projects
Commit 97844eba authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Fix test_create_host failure

- create_host doesn't return 403 for user_lab but 200 because the form
  validation fails (the network_id is not part of the form choices)
- caching disabled during tests
  the current_user could sometimes return a different username because of
  caching: the database is cleaned between each test, so different users
  can have the same id and an old user could be returned instead of the new
  one due to caching

JIRA INFRA-578
parent 109b912e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment