MCPcopy Create free account
hub / github.com/gitless-vcs/gitless / TestRemoteCreate

Class TestRemoteCreate

gitless/tests/test_core.py:898–912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896
897
898class TestRemoteCreate(TestRemote):
899
900 def test_create_new(self):
901 self.remotes.create('remote', self.remote_path)
902
903 def test_create_existing(self):
904 self.remotes.create('remote', self.remote_path)
905 self.assertRaises(
906 ValueError, self.remotes.create, 'remote', self.remote_path)
907
908 def test_create_invalid_name(self):
909 self.assertRaises(ValueError, self.remotes.create, 'rem/ote', 'url')
910
911 def test_create_invalid_url(self):
912 self.assertRaises(ValueError, self.remotes.create, 'remote', '')
913
914
915class TestRemoteList(TestRemote):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected