def test_get_version_handlers(self):
     factory = VersionHandlerFactory.get_instance()
     versions = factory.get_versions()
     for version in versions:
         handler = factory.get_version_handler(version)
         self.assertIsNotNone(handler)
         self.assertEqual(version, handler.get_version())
 def test_get_version_handlers(self):
     factory = VersionHandlerFactory.get_instance()
     versions = factory.get_versions()
     for version in versions:
         handler = factory.get_version_handler(version)
         self.assertIsNotNone(handler)
         self.assertEqual(version, handler.get_version())
    def test_get_versions(self):
        factory = VersionHandlerFactory.get_instance()
        versions = factory.get_versions()

        self.assertEqual(1, len(versions))
        self.assertIn("1.3.2", versions)
    def test_get_versions(self):
        factory = VersionHandlerFactory.get_instance()
        versions = factory.get_versions()

        self.assertEqual(1, len(versions))
        self.assertIn('1.3.2', versions)