File: test_dispatcher.py

package info (click to toggle)
python-crank 0.7.2-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 204 kB
  • sloc: python: 1,353; makefile: 18
file content (15 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from nose.tools import raises
from crank.dispatcher import *

class TestDispatcher:

    def setup(self):
        self.dispatcher = Dispatcher()

    def test_create(self):
        pass

    @raises(NotImplementedError)
    def test_dispatch(self):
        self.dispatcher._dispatch(1,2)