-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make tests extensible from corporate site #4095
Commits on Jun 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cd82565 - Browse repository at this point
Copy the full SHA cd82565View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eaf66d - Browse repository at this point
Copy the full SHA 8eaf66dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4623873 - Browse repository at this point
Copy the full SHA 4623873View commit details -
Mark some OAuth tests as "only_community"
These tests won't be ran when imported from the corporate site.
Configuration menu - View commit details
-
Copy full SHA for 7ce8015 - Browse repository at this point
Copy the full SHA 7ce8015View commit details -
Configuration menu - View commit details
-
Copy full SHA for c58de84 - Browse repository at this point
Copy the full SHA c58de84View commit details -
Configuration menu - View commit details
-
Copy full SHA for be48ae2 - Browse repository at this point
Copy the full SHA be48ae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec133fb - Browse repository at this point
Copy the full SHA ec133fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d55a15e - Browse repository at this point
Copy the full SHA d55a15eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b06d61 - Browse repository at this point
Copy the full SHA 9b06d61View commit details -
Configuration menu - View commit details
-
Copy full SHA for f17e79e - Browse repository at this point
Copy the full SHA f17e79eView commit details -
Split project tests in classes by topic
All the translation tests manage different user permissions on each different project, which is more complicated to test them from Corporate. So, they are marked as `only_community`
Configuration menu - View commit details
-
Copy full SHA for e6c879d - Browse repository at this point
Copy the full SHA e6c879dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b3236 - Browse repository at this point
Copy the full SHA 02b3236View commit details -
Configuration menu - View commit details
-
Copy full SHA for f98fb39 - Browse repository at this point
Copy the full SHA f98fb39View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4222e5 - Browse repository at this point
Copy the full SHA d4222e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 821f3c9 - Browse repository at this point
Copy the full SHA 821f3c9View commit details -
Define the URL inside setUp because it fails when loading the test
When loading this test from outside (readthedocsinc) the ``reverse`` can't be calculated because the ``search`` name is not defined in the URLConf.
Configuration menu - View commit details
-
Copy full SHA for af4e010 - Browse repository at this point
Copy the full SHA af4e010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10fd674 - Browse repository at this point
Copy the full SHA 10fd674View commit details -
Configuration menu - View commit details
-
Copy full SHA for e10e2d4 - Browse repository at this point
Copy the full SHA e10e2d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e96031 - Browse repository at this point
Copy the full SHA 7e96031View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab39aef - Browse repository at this point
Copy the full SHA ab39aefView commit details -
Use /dashboard/ instead of / to avoid redirects
Accessing ``/`` while logged in redirects to ``/dashboard/`` in the corporate site. This change makes this test compatible with both environments
Configuration menu - View commit details
-
Copy full SHA for 33813b5 - Browse repository at this point
Copy the full SHA 33813b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c2ec2e - Browse repository at this point
Copy the full SHA 7c2ec2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 638b740 - Browse repository at this point
Copy the full SHA 638b740View commit details -
Use reverse_lazy to avoid issues
Since this is executed even when the test is skipped, we need to use the ``_lazy`` function.
Configuration menu - View commit details
-
Copy full SHA for 86e2844 - Browse repository at this point
Copy the full SHA 86e2844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74c2094 - Browse repository at this point
Copy the full SHA 74c2094View commit details -
Depend on reliable data from the db for these tests
This Feature is created inside a db migration. As we depend strictly on this Feature we can't rely on data from the migration since it's ran only once when the db is created and not re-populated on each test. We need to be sure that the data we rely on is in the database in a valid state and that it wasn't modified/deleted by any other test case. Because of this, we need to use a fixture or delete and create the data we rely on inside the ``setUp`` for this test.
Configuration menu - View commit details
-
Copy full SHA for 7077050 - Browse repository at this point
Copy the full SHA 7077050View commit details
Commits on Jun 29, 2018
-
Mark building test as community only
These tests performs a call to our API from a signal hook in our corporate site and the API call in that file is not mocked, so they fail.
Configuration menu - View commit details
-
Copy full SHA for 7317ee9 - Browse repository at this point
Copy the full SHA 7317ee9View commit details
Commits on Jul 2, 2018
-
Remove all community marks from pytests
These tests are excluded from the corporate site using pytest internals.
Configuration menu - View commit details
-
Copy full SHA for 178f4ab - Browse repository at this point
Copy the full SHA 178f4abView commit details