mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Organization.create_project() did not have a type hint, add one, and a test case.
14 lines
424 B
Python
14 lines
424 B
Python
from . import Framework
|
|
|
|
|
|
class Organization(Framework.TestCase):
|
|
def testIssue2030CreateProject(self):
|
|
super().setUp()
|
|
project = "ultratendency"
|
|
self.user = self.g.get_user("karthik-kadajji-t")
|
|
self.org = self.g.get_organization("testkarthik")
|
|
self.org.create_project(project)
|
|
project = self.org.get_projects()[0].name
|
|
|
|
self.assertEqual("ultratendency", project)
|