def test_len(self): variables = {'foo': 'bar', 'quuz': 'blaah'} assert_equals(len(_VariableScopes(None, None)), 0) assert_equals(len(_VariableScopes(variables, None)), 2 + len(GLOBAL_VARIABLES)) assert_equals( len(_VariableScopes(None, _VariableScopes(variables, None))), 0)
def test_len(self): assert_equals(len(_VariableScopes(None, None)), 0) assert_equals(len(_VariableScopes(DummySuite(), None)), 2 + len(GLOBAL_VARIABLES)) assert_equals( len(_VariableScopes(None, _VariableScopes(DummySuite(), None))), 0)
def test_len(self): assert_equals(len(_VariableScopes(None, None)), 0) assert_equals(len(_VariableScopes(DummySuite(), None)), 2 + len(GLOBAL_VARIABLES)) assert_equals(len(_VariableScopes(None, _VariableScopes(DummySuite(), None))), 0)
def test_len(self): variables = {'foo': 'bar', 'quuz': 'blaah'} assert_equals(len(_VariableScopes(None, None)), 0) assert_equals(len(_VariableScopes(variables, None)), 2 + len(GLOBAL_VARIABLES)) assert_equals(len(_VariableScopes(None, _VariableScopes(variables, None))), 0)