Revert "update wcs tests (#10564)"

This reverts commit d4033ffcd8.
This commit is contained in:
Serghei Mihai 2016-04-06 20:08:45 +02:00
parent d4033ffcd8
commit 4e25908f2a
1 changed files with 2 additions and 4 deletions

View File

@ -252,10 +252,8 @@ def test_current_forms_cell_setup():
cell = WcsCurrentFormsCell()
form_class = cell.get_default_form_class()
form = form_class()
choices = form.fields['wcs_site'].widget.choices
assert ('', 'All') in choices
assert (u'default', u'test') in choices
assert (u'other', u'test2') in choices
assert form.fields['wcs_site'].widget.choices == [
('', 'All'), (u'default', u'test'), (u'other', u'test2')]
try:
# check there is not wcs_site field if there's a single one defined in