Exemple #1
0
def test_delete_auto_scoping():
    scop = Scoping()
    scop2 = Scoping(scoping=scop)
    scop.__del__()
    with pytest.raises(Exception):
        scop2.ids
Exemple #2
0
def test_delete_scoping():
    scop = Scoping()
    scop.__del__()
    with pytest.raises(Exception):
        scop.ids