Completed
Pull Request — master (#118)
by Jasper
01:10
created

tests.DiffTests   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 14
Duplicated Lines 0 %
Metric Value
dl 0
loc 14
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 2 1
A test_assertSame() 0 4 1
A test_assertSame_with_fieldsOfInterest() 0 4 1
1
import unittest, os
2
from mock import Mock, patch, call
3
from tests.ditest import DependencyInjectionTestBase
4
5
6
class DiffTests(DependencyInjectionTestBase):
7
8
    def setUp(self):
9
        super(DiffTests, self).setUp()
10
11
    def test_assertSame(self):
12
        # method on Diff object that throws an AssertionError if
13
        # provenance is different
14
        pass
15
16
    def test_assertSame_with_fieldsOfInterest(self):
17
        # only raises AssertionError if passed keys are different
18
        # or don't exist in either object
19
        pass
20
21
22