def test_is_valid_mpls_label_over(self): eq_(False, validation.is_valid_mpls_label(0x100000 + 1))
def test_is_valid_mpls_label_negative(self): eq_(False, validation.is_valid_mpls_label(-1))
def test_is_valid_mpls_label_reserved(self): eq_(False, validation.is_valid_mpls_label(4))
def test_is_valid_mpls_label_not_num(self): eq_(False, validation.is_valid_mpls_label('foo'))
def test_is_valid_mpls_label(self): ok_(validation.is_valid_mpls_label(100))