Closed Sjord closed 10 months ago
glom/glom/test/test_mutation.py at master · mahmoud/glom
def test_s_assign(): ''' check that assign works when storing things into S ''' glom({}, (Assign(S['foo'], 'bar'), S['foo'])) == 'bar'
glom(...) == 'bar' should probably be assert glom(...) == 'bar'
glom(...) == 'bar'
assert glom(...) == 'bar'
Great catch, both here and #270. Now I'm wondering if there's a pytest plugin to warn when a test function doesn't perform a single assert :) Thanks!
glom/glom/test/test_mutation.py at master · mahmoud/glom
glom(...) == 'bar'
should probably beassert glom(...) == 'bar'