omsf-eco-infra / ticgithub

Tools to use a GitHub repository as a support ticket system
MIT License
0 stars 0 forks source link

Tests for Issues #31

Open dwhswenson opened 1 year ago

dwhswenson commented 1 year ago

As our Issue is primarily a wrapper for PyGithub's github.Issue, the best thing is to make use an instance of that to wrap most of our functionality. It looks like we just need to give the appropriate headers and attributes (which seem to be stored in github.Issue._headers and github.Issue._rawData, respectively, for actual issues). See GithubObject.__init__.

Needs are:

We'll count on PyGithub's testing to ensure that calls to the GitHub API still work.