def test_merging_scopes():
    n1 = UniquelyNamed('my_basename')
    n2 = UniquelyNamed('my_basename')
    n1.merge_scopes(n2)
    assert (n1.name == 'my_basename_1')
    assert (n2.name == 'my_basename_2')
def test_merging_scopes():
    n1 = UniquelyNamed('my_basename')
    n2 = UniquelyNamed('my_basename')
    n1.merge_scopes(n2)
    assert (n1.name == 'my_basename_1')
    assert (n2.name == 'my_basename_2')