Completed
Pull Request — master (#127)
by Jasper
01:09
created

DirectMediumTests   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %
Metric Value
dl 0
loc 7
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_Returns_input() 0 5 1
1
#!/usr/bin/python
2
# -*- coding: UTF-8 -*-
3
from mock import Mock, sentinel
4
from tests.ditest import DependencyInjectionTestBase
5
6
7
class DirectMediumTests(DependencyInjectionTestBase):
8
9
    def test_Returns_input(self):
10
        from niprov.mediumdirect import DirectMedium
11
        exporter = DirectMedium()
12
        fmt = Mock()
13
        self.assertEqual(sentinel.one, exporter.export(sentinel.one, fmt))
14
15
16
17