def test_should_fail_on_tx_push_object(): tx = Transaction(FakeGraph()) with raises(TypeError): tx.push(object())
def test_should_fail_on_tx_merge_object(): tx = Transaction(FakeGraph()) with raises(TypeError): tx.merge(object())