def test_version_check_update_available(self):
        """test the version check on an outdated branch."""
        output = self.run_command("selfupdate --check bennr01:selfupdate_test_future", exitcode=0)
        self.assertIn("Target: bennr01:selfupdate_test_future", output)
        self.assertNotIn("Target: ywangd:master", output)
        self.assertNotIn("Already at latest version", output)
        self.assertIn("New version available", output)
        self.assertNotIn("Error: ", output)
test the version check on an outdated branch.
tests/misc/test_selfupdate.py