test_controller.py 426B

1234567891011121314151617
  1. # coding=utf-8
  2. import pytest
  3. from pyramid.config import Configurator
  4. from tracim_backend.views.controllers import Controller
  5. class TestControllerModel(object):
  6. """
  7. Test for Controller object
  8. """
  9. def test_unit__bind__err__not_implemented(self):
  10. controller = Controller()
  11. configurator = Configurator()
  12. with pytest.raises(NotImplementedError):
  13. controller.bind(configurator)