constants

This commit is contained in:
Romain Dorgueil
2016-12-26 13:55:59 +01:00
parent 39cfd72761
commit 4bc6248ee4
10 changed files with 47 additions and 47 deletions

View File

@ -1,7 +1,7 @@
from mock import Mock
from bonobo import Bag
from bonobo.core.bags import InheritInputFlag
from bonobo.core.bags import INHERIT_INPUT
args = (
'foo',
@ -42,7 +42,7 @@ def test_inherit():
'a',
'b', )
assert bag2.kwargs == {'a': 1, 'b': 2}
assert InheritInputFlag in bag2.flags
assert INHERIT_INPUT in bag2.flags
assert bag3.args == (
'a',