'Test the ability to retrieve imported issues.'

def test_imported_issues(self):

    self.token_login()
    cassette_name = self.cassette_name('imported_issues')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('github3py', 'test_rename1')
        imported_issues = list(repository.imported_issues())
    assert (len(imported_issues) > 0)
    for imported_issue in imported_issues:
        assert isinstance(imported_issue, github3.repos.issue_import.ImportedIssue)
