def METHOD_NAME(self):
    """Test whether it installs packages only from the repository."""
    self.assertRaises(
        dnf.exceptions.PackagesNotAvailableError,
        self.base.reinstall, 'librita', new_reponame='non-main')