Fixed minor issues and enhancements
This commit is contained in:
@@ -49,8 +49,7 @@ class TestBuiltinHelpers(TestUsingMemoryBasedSheerka):
|
||||
]
|
||||
res = core.builtin_helpers.expect_one(self.get_context(sheerka), items)
|
||||
assert not res.status
|
||||
assert res.value, items[0]
|
||||
assert res.parents == items
|
||||
assert res.value == items[0].body
|
||||
|
||||
def test_i_can_use_expect_when_only_errors_2(self):
|
||||
sheerka = self.get_sheerka()
|
||||
@@ -74,7 +73,6 @@ class TestBuiltinHelpers(TestUsingMemoryBasedSheerka):
|
||||
res = core.builtin_helpers.expect_one(self.get_context(sheerka), items)
|
||||
assert res.status
|
||||
assert res.body == items[0].body
|
||||
assert res.parents == items
|
||||
|
||||
def test_i_can_use_expect_one_when_one_success_2(self):
|
||||
sheerka = self.get_sheerka()
|
||||
|
||||
Reference in New Issue
Block a user