def test_SELFUPDATE_TARGET(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_TARGET=ywangd:dev selfupdate --check", exitcode=None)
        self.assertIn("Target: ywangd:dev", output)
        self.assertNotIn("Target: ywangd:master", output)
test that selfupdate uses the correct default repo
tests/misc/test_selfupdate.py