Jeremy Stretch
486f1a74ab
Standardize base classes for view test cases
2020-05-28 12:05:54 -04:00
Jeremy Stretch
00ce3588d3
Fix secrets API tests
2020-05-28 09:51:02 -04:00
Jeremy Stretch
a261d10bfd
Fix permissions assignment for SecretTest
2020-05-27 17:10:45 -04:00
Jeremy Stretch
635fefcb5c
Update exempted tests
2020-05-22 16:33:56 -04:00
Jeremy Stretch
1ccb3162ff
Ensure all model FilterSets support the 'id' field
2020-05-06 12:33:52 -04:00
Jeremy Stretch
a53f854187
Remove tests for API _choices endpoints
2020-03-12 10:48:53 -04:00
Jeremy Stretch
803287a514
Closes #4313 : Remove id__in filters
2020-03-06 12:05:53 -05:00
Jeremy Stretch
66fa79741d
Add min/max length tests for secrets
2020-02-19 21:06:21 -05:00
Jeremy Stretch
a8601bb1fd
Merge pull request #4151 from netbox-community/4146-secretrole-enforcement
...
Fixes #4146 : Fix SecretRole permissions enforcement
2020-02-12 13:51:44 -05:00
Jeremy Stretch
3b1128f8f3
Establish standard test cases for all models
2020-02-12 13:25:56 -05:00
Jeremy Stretch
5bf85597ed
Fixes #4146 : Fix SecretRole permissions enforcement
2020-02-12 11:13:32 -05:00
Jeremy Stretch
d431efb7d4
Add bulk edit view tests
2020-02-03 13:53:19 -05:00
Jeremy Stretch
eb9538d6da
Clean up imports
2020-01-31 15:59:26 -05:00
Jeremy Stretch
e8e39dc5e3
Convert secrets view tests to use StandardTestCases
2020-01-31 15:37:58 -05:00
Jeremy Stretch
67fafb2b9d
Use assertHttpStatus for evaluating HTTP response codes
2020-01-30 18:08:25 -05:00
Jeremy Stretch
61ac7c44ba
Migrate view tests to use new TestCase class
2020-01-30 16:37:40 -05:00
Jeremy Stretch
1c13a79961
Suppress extraneous test output
2020-01-21 17:23:50 -05:00
kobayashi
c6d18da2eb
3923 validate key format
2020-01-19 02:19:03 -05:00
Jeremy Stretch
8bd67b2c17
Add tests for browsable API endpoints
2020-01-15 17:47:55 -05:00
Jeremy Stretch
857e04e90b
Add _choices endpoint tests for all apps
2020-01-14 16:13:11 -05:00
Jeremy Stretch
f27e06e619
Move utility functions for secrets to secrets/utils.py
2020-01-14 12:13:58 -05:00
Jeremy Stretch
15e1f62919
Renamed secrets FilterSets
2020-01-09 20:38:59 -05:00
Jeremy Stretch
a2ead6af94
Merge branch 'develop' into develop-2.7
2020-01-09 15:27:06 -05:00
Jeremy Stretch
b1e8145ffb
Standardize usage of self.filterset for test cases
2020-01-08 17:06:39 -05:00
Jeremy Stretch
f267a532f6
Add filter tests for secrets
2020-01-07 09:35:22 -05:00
Jeremy Stretch
821cd58825
Add secrets CSV import tests
2019-12-12 11:26:48 -05:00
Jeremy Stretch
a46b43bff6
Added child counts to API serializers (WIP)
2019-04-12 17:07:56 -04:00
Jeremy Stretch
e710ccb0e6
Enforce view permissions for UI views
2019-04-11 17:27:38 -04:00
Jeremy Stretch
9d69f14faa
Implement basic view testing for all models ( #2909 )
2019-02-15 17:02:18 -05:00
Jeremy Stretch
bd7aee7c1f
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
Jeremy Stretch
bc8dbfde7c
Merge branch 'develop' into develop-2.5
2018-11-12 16:03:52 -05:00
Jeremy Stretch
69d829ce8d
Fixes #2473 : Fix encoding of long (>127 character) secrets
2018-11-07 13:44:16 -05:00
Jeremy Stretch
22ed4f1b53
Merge release v2.4.6
2018-10-10 09:36:51 -04:00
Jeremy Stretch
259da2d18a
#2487 : Added API tests
2018-10-04 16:20:01 -04:00
Jeremy Stretch
980d62d579
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00
Jeremy Stretch
bd5e860be0
Refactored the tests to remove a lot of boilerplate
2018-08-03 11:39:26 -04:00
Jeremy Stretch
e4f336a843
Establish tests for the utilities app
2018-06-08 14:32:41 -04:00
Jeremy Stretch
9c27d18d6c
Fix bulk creation of Secrets via API
2018-01-02 17:07:21 -05:00
Jeremy Stretch
b27529d927
Added bulk creation API tests
2018-01-02 16:29:44 -05:00
Jeremy Stretch
e01e5e6b0e
Standardize on JSON data format for all POST/PUT test client requests
2017-11-08 13:54:35 -05:00
Jeremy Stretch
00986fd7bf
Closes #1691 : Cleaned up and reorganized import statements
2017-11-07 11:08:23 -05:00
Jeremy Stretch
f21c6bca00
Import unicode_literals
2017-05-24 11:33:11 -04:00
Jeremy Stretch
6542b8b198
Base64 decoding tweaks
2017-03-29 13:39:59 -04:00
Jeremy Stretch
116ceb6f93
Added tests for get-session-key API endpoint
2017-03-28 11:30:38 -04:00
Jeremy Stretch
42fd14f5c0
Introduced HttpStatusMixin to provide more detail on HTTP response status test failures
2017-03-20 13:46:47 -04:00
Jeremy Stretch
130ff27f26
Wrote tests for secrets API
2017-03-17 16:01:57 -04:00
Jeremy Stretch
a42eeb12d2
Implemented SessionKeys for secrets
2017-02-03 12:49:32 -05:00
Jens L
80439c495e
Basic Support for Python 3 ( #827 )
...
* Rudimentary python3 support
* update docs and trigger Travis
* fix some of the tests
* fix all python3 errors
* change env calls to just python
* add @python_2_unicode_compatible decorator to models for python2 compatibility
* switch netbox.configuration to from netbox import configuration
2017-01-23 16:44:29 -05:00
Zach Moody
f7e768d166
secrets: imported SecretValidationHasher.iterations for SecretTestCase
2016-06-23 00:01:22 -05:00
Zach Moody
b21833f79c
secrets: refactor for py3 (from 3c9c04d4)
2016-06-22 23:52:32 -05:00