spasovski/zamboni — comment on commit 14b165329afb7712d0a9279ff8353130642171f8
File:  line 0
By cvan:

You'll want [`devhub('apps.edit.basic')` tests](https://github.com/mozilla/zamboni/blob/master/apps/devhub/tests/test_views_edit.py#L417) for:

# Device Type

* ensure you cannot add a device type to an add-on
* ensure you can add a device type to an app if there are none
* ensure you can add a device type to an app if there are existing ones
* ensure you can remove a device type from an app
* ensure you can both add AND remove a device type to an app

# Support URL

* adding a new support URL
* editing a new support URL
* deleting a support URL (if this is allowed)
* checking max_length on new support URL

# Support Email

* adding a new support email
* editing a new support email
* deleting a support email (if this is allowed)
* checking max_length on new support email

You'll also want to add these tests for the app [submission Step 3](https://github.com/mozilla/zamboni/blob/master/apps/devhub/tests/test_views.py#L187):

# Support URL

* adding a new support URL
* editing a new support URL
* deleting a support URL (if this is allowed)
* checking max_length on new support URL

# Support Email

* adding a new support email
* editing a new support email
* deleting a support email (if this is allowed)
* checking max_length on new support email