blob: 41657f26ba81951574a8e78009912a30c0ca3da3 [file] [log] [blame]
sathishgbbb90992017-06-23 09:52:29 +05301from unittest import TestCase, main
2import loxi.of13 as ofp
3
4class TestConection_mgr(TestCase):
5
6 def test_bitmap_to_version(self):
7 bitmaps = [18]
8 versions = ofp.util.bitmap_to_version(bitmaps)
9 self.assertEqual(versions,[1,4])
10
11if __name__ == '__main__':
12 main()