Beispiel #1
0
    def testFusionVersionsMatch(self):
        """Check Fusion and server versions are aligned."""
        fusion_version = common.GetFusionVersion()
        gee_server_version = common.GetGeeServerVersion()

        error_msg = ('Fusion and GEE Server versions DO NOT match. '
                     'Currently running Fusion v. %s and GEE Server v. %s.' %
                     (fusion_version, gee_server_version))
        self.assertEqual(fusion_version, gee_server_version, msg=error_msg)

        print 'Fusion and GEE Server versions match. Current version is %s.' % (
            fusion_version)
Beispiel #2
0
    def testFusionVersion(self):
        """Check if Fusion release is the latest available."""

        latest_version = common.GetLatestVersion()
        fusion_version = common.GetFusionVersion()

        error_msg = ('Running Fusion version %s. Upgrade to version %s.' %
                     (fusion_version, latest_version))
        self.assertEqual(fusion_version, latest_version, msg=error_msg)

        print('Currently running the latest version of Fusion (%s).' %
              fusion_version)
Beispiel #3
0
    def testFusionVersion(self):
        """Check if Fusion release is the latest available."""

        latest_version = common.GetLatestVersion()
        # Extract the main version information.
        fusion_version = common.GetFusionVersion()
        fusion_version = ".".join(fusion_version.split('.')[0:3])

        error_msg = ('Running Fusion version %s. Upgrade to version %s.' %
                     (fusion_version, latest_version))
        self.assertEqual(fusion_version, latest_version, msg=error_msg)

        print('Currently running the latest version of Fusion (%s).' %
              fusion_version)