
from impact.v1.views.base_list_view import BaseListView
from impact.v1.views.post_mixin import PostMixin
from impact.v1.helpers import CriterionOptionSpecHelper


class CriterionOptionSpecListView(BaseListView, PostMixin):
    view_name = "criterion_option_spec"
    helper_class = CriterionOptionSpecHelper
    actions = ['GET', 'POST']  # Should get this from PostMixin


from impact.v1.views.post_mixin import PostMixin
from impact.v1.views.base_list_view import BaseListView
from impact.v1.helpers import CriterionOptionSpecHelper


class CriterionOptionSpecListView(BaseListView,
                                  PostMixin):
    helper_class = CriterionOptionSpecHelper    
    view_name = "criterion_option_spec"
    actions = ['GET', 'POST']  # Should get this from PostMixin

Move some code around because code climate said so
[AC-5622] Move some code around because code climate said so

  
+ from impact.v1.views.post_mixin import PostMixin
  from impact.v1.views.base_list_view import BaseListView
- from impact.v1.views.post_mixin import PostMixin
  from impact.v1.helpers import CriterionOptionSpecHelper
  
  
- class CriterionOptionSpecListView(BaseListView, PostMixin):
+ class CriterionOptionSpecListView(BaseListView,
+                                   PostMixin):
+     helper_class = CriterionOptionSpecHelper    
      view_name = "criterion_option_spec"
-     helper_class = CriterionOptionSpecHelper
      actions = ['GET', 'POST']  # Should get this from PostMixin
  
Move some code around because code climate said so
## Code Before:

from impact.v1.views.base_list_view import BaseListView
from impact.v1.views.post_mixin import PostMixin
from impact.v1.helpers import CriterionOptionSpecHelper


class CriterionOptionSpecListView(BaseListView, PostMixin):
    view_name = "criterion_option_spec"
    helper_class = CriterionOptionSpecHelper
    actions = ['GET', 'POST']  # Should get this from PostMixin

## Instruction:
Move some code around because code climate said so
## Code After:

from impact.v1.views.post_mixin import PostMixin
from impact.v1.views.base_list_view import BaseListView
from impact.v1.helpers import CriterionOptionSpecHelper


class CriterionOptionSpecListView(BaseListView,
                                  PostMixin):
    helper_class = CriterionOptionSpecHelper    
    view_name = "criterion_option_spec"
    actions = ['GET', 'POST']  # Should get this from PostMixin
