Jeremy Stretch
|
405f00154c
|
Skip non-model fields when applying bulk changes
|
2020-02-03 13:07:46 -05:00 |
|
Jeremy Stretch
|
8a374b16b5
|
Correct nullable_fields for ServiceBulkEditForm
|
2020-02-03 12:25:20 -05:00 |
|
Jeremy Stretch
|
20c6b6fdfb
|
Correct default_return_url for TagBulkEditView
|
2020-02-03 11:59:43 -05:00 |
|
Jeremy Stretch
|
acdbb126f1
|
Add bulk delete view tests
|
2020-02-03 10:04:09 -05:00 |
|
Jeremy Stretch
|
3c0870664e
|
Extend standard view test case to validate built-in CSV export
|
2020-01-31 17:09:50 -05:00 |
|
Jeremy Stretch
|
99a35b9128
|
Removed obsolete CSV headers from DeviceType (export is now YAML-based)
|
2020-01-31 17:08:38 -05:00 |
|
Jeremy Stretch
|
a7b8f9b5d3
|
Fixes #4067: Correct permission checked when creating a rack (vs. editing)
|
2020-01-31 16:12:46 -05:00 |
|
Jeremy Stretch
|
634d3f8a5d
|
Fixes #4071: Enforce "view tag" permission on individual tag view
|
2020-01-31 16:10:16 -05:00 |
|
Jeremy Stretch
|
0420826ac8
|
Merge pull request #4072 from netbox-community/4000-view-tests
Closes #4000: Add tests for the create, edit, and delete views of all models
|
2020-01-31 16:07:32 -05:00 |
|
Jeremy Stretch
|
706dd8ca34
|
Clean up imports
|
2020-01-31 15:59:26 -05:00 |
|
Jeremy Stretch
|
2560584970
|
Convert virtualization view tests to use StandardTestCases
|
2020-01-31 15:57:33 -05:00 |
|
Jeremy Stretch
|
1965156d90
|
Convert tenancy view tests to use StandardTestCases
|
2020-01-31 15:44:10 -05:00 |
|
Jeremy Stretch
|
1cee094840
|
Convert secrets view tests to use StandardTestCases
|
2020-01-31 15:37:58 -05:00 |
|
Jeremy Stretch
|
00da429ab9
|
Convert IPAM view tests to use StandardTestCases
|
2020-01-31 15:19:10 -05:00 |
|
Jeremy Stretch
|
6093445d10
|
Fix DeviceTypeTestCase permissions assignment for custom tests
|
2020-01-31 14:29:56 -05:00 |
|
Jeremy Stretch
|
a0b575e310
|
Suppress tag view test until #4071 is fixed
|
2020-01-31 14:22:56 -05:00 |
|
Jeremy Stretch
|
8224b891ab
|
Extend and correct evaluation of view permissions
|
2020-01-31 14:13:30 -05:00 |
|
Jeremy Stretch
|
cc9deb1220
|
Refactor model_to_dict() to better handle tags
|
2020-01-31 14:12:48 -05:00 |
|
Jeremy Stretch
|
c95b786d98
|
Convert extras view tests to StandardTestCases
|
2020-01-31 13:45:09 -05:00 |
|
Jeremy Stretch
|
acda39814b
|
model_to_dict(): Convert object lists to PK lists
|
2020-01-31 13:44:34 -05:00 |
|
Jeremy Stretch
|
b3ff757fef
|
Migrate (most) DCIM view tests to use StandardTestCases
|
2020-01-31 12:32:33 -05:00 |
|
Jeremy Stretch
|
ce9ee80753
|
DeviceForm.manufacturer should not be a required field
|
2020-01-31 12:28:50 -05:00 |
|
Jeremy Stretch
|
8d41faebf4
|
model_to_dict(): Remove fields that start with an underscore
|
2020-01-31 12:14:51 -05:00 |
|
Jeremy Stretch
|
bae3c83a5b
|
post_data(): Ignore iterables
|
2020-01-31 11:50:12 -05:00 |
|
Jeremy Stretch
|
4691e70ddf
|
Add _get_url() for View test case
|
2020-01-31 10:30:13 -05:00 |
|
Jeremy Stretch
|
da1ca77c34
|
Move form/CSV data declaration under setUpTestData
|
2020-01-31 09:27:41 -05:00 |
|
Jeremy Stretch
|
8aa6a9bf99
|
Reorganize test classes to prevent unittest from running the base TestCases
|
2020-01-31 09:00:01 -05:00 |
|
Jeremy Stretch
|
b1a38fe0da
|
Added ViewTestCase (WIP)
|
2020-01-30 21:57:20 -05:00 |
|
Jeremy Stretch
|
bc590633b4
|
Introduced a custom model_to_dict()
|
2020-01-30 20:48:26 -05:00 |
|
Jeremy Stretch
|
c40bc53e80
|
Convert view tests under extras to the new TestCase
|
2020-01-30 18:13:02 -05:00 |
|
Jeremy Stretch
|
965a807581
|
Use assertHttpStatus for evaluating HTTP response codes
|
2020-01-30 18:08:25 -05:00 |
|
Jeremy Stretch
|
eb69ea52f9
|
Refactor APITestCase to subclass TestCase
|
2020-01-30 17:57:34 -05:00 |
|
Jeremy Stretch
|
d23b234d4f
|
Merge branch 'develop' into 4051-disable-makemigrations
|
2020-01-30 16:49:15 -05:00 |
|
Jeremy Stretch
|
a57c38246a
|
Migrate view tests to use new TestCase class
|
2020-01-30 16:37:40 -05:00 |
|
Jeremy Stretch
|
a9a622449f
|
Introduced a custom TestCase
|
2020-01-30 16:19:51 -05:00 |
|
Jeremy Stretch
|
3846416492
|
Fixes #4030: Fix exception when bulk editing interfaces (revised)
|
2020-01-30 15:12:10 -05:00 |
|
Jeremy Stretch
|
1f4b5b506b
|
Merge pull request #4050 from netbox-community/568-customfield-csv-import
Closes #568: Extend CSV import to support custom fields
|
2020-01-30 14:04:57 -05:00 |
|
Jeremy Stretch
|
afc8aa0bc5
|
Fixes #4052: Fix error when bulk importing interfaces to virtual machines
|
2020-01-30 13:55:39 -05:00 |
|
Jeremy Stretch
|
767ac3476f
|
Fix VM interfaces table header alignment
|
2020-01-30 13:39:50 -05:00 |
|
Jeremy Stretch
|
6e43e0fd49
|
Fixes #4056: Repair schema migration for Rack.outer_unit (from #3569)
|
2020-01-30 12:08:40 -05:00 |
|
Jeremy Stretch
|
1fbf137ccf
|
Closes #4051: Disable the makemigrations management command
|
2020-01-30 10:12:53 -05:00 |
|
Jeremy Stretch
|
d473c4e682
|
Fixes #4049: Restore missing tags field in IPAM service serializer
|
2020-01-29 16:22:06 -05:00 |
|
Jeremy Stretch
|
10d3f71c93
|
Add tests for invalid import data
|
2020-01-29 16:07:32 -05:00 |
|
Jeremy Stretch
|
730eb47f25
|
Extend CSV import test
|
2020-01-29 15:34:55 -05:00 |
|
Jeremy Stretch
|
447240c801
|
Enable CSV import for custom fields
|
2020-01-29 14:29:47 -05:00 |
|
Jeremy Stretch
|
d1b5e1a04d
|
Introduced CustomFieldModelCSVForm
|
2020-01-29 13:53:26 -05:00 |
|
Jeremy Stretch
|
011256feee
|
Fix assignment of initial CustomField values when editing an object
|
2020-01-29 13:31:36 -05:00 |
|
Jeremy Stretch
|
aa958955ae
|
Remove get_custom_fields_for_model()
|
2020-01-29 12:12:47 -05:00 |
|
Jeremy Stretch
|
2054cd4e2f
|
Move form field generation logic to CustomField class
|
2020-01-29 11:44:37 -05:00 |
|
Jeremy Stretch
|
098f47462c
|
Rename and simplify CustomFieldChoiceField
|
2020-01-29 11:00:03 -05:00 |
|