83c092f685
13272 fix graphql tests
2023-07-27 14:25:49 +07:00
518fd8cca6
12794 change User ref to get_user_model ( #12905 )
...
* 12794 change User ref to get_user_model
* 12794 call get_user_model once in tests
* 12794 call get_user_model once in tests
* 12794 use settings.AUTH_USER_MODEL for FK reference
2023-06-22 08:26:50 -04:00
ab303db3dd
Closes #11851 : Add family field to IPAddress queries in GraphQL ( #11870 )
...
* Closes #11851 : Add family field to IPAddress queries in GraphQL
* Add family field support to Prefix and Aggregate, fix tests
2023-03-10 14:48:45 -05:00
9ca4c7315b
10595 extend graphql relationships ( #10603 )
...
* 9817 add graphql l2vpntermination assigned_object
* 9817 add graphql ipaddressassignment assigned_object
* 9817 ipan graphql gfk
* 9817 dcim graphql gfk
* 9817 dcim graphql gfk
* 9817 fix tests
* 10595 cable a_terminations to graphql
* 10595 add contacts to graphql
* 10595 move contacts to Provider
2022-10-11 12:26:18 -04:00
10bb8fa10a
9478 link peers to GraphQL ( #10574 )
...
* 9468 add link_peer to GraphQL
* 9478 add class_type
* 9478 fix tests
* 9478 fix tests
* 9478 fix tests
2022-10-06 16:50:53 -04:00
24ba840be7
10472 graphene 3 ( #10473 )
...
* update to Graphene 3.0.0
* 10472 exempt view permissions on tests
* 10472 exempt permission check on graphql tests
2022-10-05 15:50:17 -04:00
8f1acb700d
Fix ID list creation in API tests
2021-11-04 11:31:39 -04:00
e12314ba60
Fix test user permissions for API pagination tests
2021-09-08 09:57:53 -04:00
11836cdfb1
Fixes #6871 : Support dynamic tag types in GraphQL API
2021-08-03 16:29:34 -04:00
0df67dbc12
Add ip_addresses relation on InterfaceType, VMInterfaceType
2021-08-03 11:27:14 -04:00
2fe734e6f9
Omit _path from CableTermination models
2021-06-30 10:20:20 -04:00
e6091ee0c9
Consolidate GraphQLTestCase into APIViewTestCase
2021-06-30 10:07:33 -04:00
728b3bac67
Use _list appendix for GraphQL list queries
2021-06-30 09:57:33 -04:00
7deabfe9cd
Extended GraphQL tests to include all fields
2021-06-29 11:20:54 -04:00
605b7c5b3e
Add GraphQL for virtualization
2021-06-25 15:31:43 -04:00
4c209ed74c
Clean up GraphQL tests
2021-06-25 10:14:06 -04:00
d5675a5d4a
Add support for DRF token authentication
2021-06-25 09:13:08 -04:00
91d39cc0c0
Added initial GraphQL tests
2021-06-24 09:08:45 -04:00
664ba55460
Reorganize base TestCase classes
2021-04-14 14:22:58 -04:00
e5bbf47ab9
Fixes #5583 : Eliminate redundant change records when adding/removing tags
2021-04-13 10:14:25 -04:00
c835ec5102
Fixes #5470 : Fix exception when making OPTIONS request for a REST API list endpoint
2020-12-15 21:04:47 -05:00
ef77961cf4
Fix tests
2020-12-01 12:01:10 -05:00
915cf3e715
Merge branch 'develop' into develop-2.10
2020-12-01 11:42:55 -05:00
f8b523b97b
Extend assertInstanceEqual to accept a list of data fields to exclude from comparison with the instance
2020-11-25 11:44:44 -05:00
5ed5ffea0e
Bulk update should return complete object representation
2020-11-11 13:02:28 -05:00
9b16d6df2e
Merge v2.9.4 release
2020-09-23 16:11:00 -04:00
09dc271eec
Fix reference to update_data
2020-09-23 12:20:45 -04:00
38ed612cb9
Add test for API bulk updates
2020-09-22 13:50:55 -04:00
eba2ea06ff
Add test for bulk API deletions
2020-09-15 14:36:38 -04:00
64a3bd37e7
Move EXEMPT_EXCLUDE_MODELS to settings; add Group and User models
2020-07-22 12:13:07 -04:00
788f8c9a1c
Add view_namespace attrbiute to APITestCase to override model's app_label
2020-07-22 11:51:10 -04:00
3e6b257fa0
Exclude ObjectPermissions API endpoint from EXEMPT_VIEW_PERMISSIONS
2020-07-21 17:39:56 -04:00
2fbe138c71
Refactor APITestCase to provide dynamic queryset specification
2020-07-07 13:13:19 -04:00
6ab4640cdc
Update API tests to work with RestrictedQuerySet
2020-06-29 10:39:06 -04:00
7a858cea23
Extend test_bulk_create_objects() to inspect created objects
2020-06-08 15:58:54 -04:00
62224857f0
Standardize ObjectPermissionTest
2020-06-08 14:01:15 -04:00
3b44e7c1c4
Update API test methods to evaluate permissions assignment
2020-06-08 11:52:29 -04:00
f83e435a90
Move APIViewTestCases to api.py
2020-06-08 10:46:53 -04:00