Skip to content

Commit e8d5558

Browse files
authored
tests: delete unused helper dict_contains() (#85)
1 parent e89555d commit e8d5558

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/test_tasks.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from fudge import Fake, patched_context, with_fakes
22
import unittest
3-
from nose.tools import raises, ok_
3+
from nose.tools import raises
44
import random
55
import sys
66

@@ -191,15 +191,6 @@ def foo():
191191
# execute()
192192
#
193193

194-
def dict_contains(superset, subset):
195-
"""
196-
Assert that all key/val pairs in dict 'subset' also exist in 'superset'
197-
"""
198-
for key, value in subset.iteritems():
199-
ok_(key in superset)
200-
eq_(superset[key], value)
201-
202-
203194
class TestExecute(FabricTest):
204195
@with_fakes
205196
def test_calls_task_function_objects(self):

0 commit comments

Comments
 (0)