Exemple #1
0
def test_should_fail_on_tx_push_object():
    tx = Transaction(FakeGraph())
    with raises(TypeError):
        tx.push(object())
Exemple #2
0
def test_should_fail_on_tx_merge_object():
    tx = Transaction(FakeGraph())
    with raises(TypeError):
        tx.merge(object())