def test_target_repo(self):
        """test that selfupdate uses the correct default repo"""
        # network may be unavailable, but we are not interested anyway,
        # so we ignore the exitcode
        output = self.run_command("selfupdate --check bennr01:dev", exitcode=None)
        self.assertIn("Target: bennr01:dev", output)
        self.assertNotIn("Target: ywangd:master", output)
test that selfupdate uses the correct default repo
tests/misc/test_selfupdate.py