mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-20 15:02:31 +00:00
Add a test!
Just one
This commit is contained in:
@@ -1 +0,0 @@
|
||||
default_app_config = 'assets.apps.AssetsAppConfig'
|
||||
|
||||
@@ -105,7 +105,6 @@ def test_asset_edit(admin_client, test_asset):
|
||||
|
||||
def test_cable_edit(admin_client, test_cable):
|
||||
url = reverse('asset_update', kwargs={'pk': test_cable.asset_id})
|
||||
# TODO Why do I have to send is_cable=True here?
|
||||
response = admin_client.post(url, {'is_cable': True, 'length': -3, 'csa': -3})
|
||||
|
||||
# TODO Can't figure out how to select the 'none' option...
|
||||
|
||||
Reference in New Issue
Block a user