MCPcopy
hub / github.com/gitless-vcs/gitless / setUp

Method setUp

gitless/tests/test_core.py:939–947  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

937class TestRemoteSync(TestRemote):
938
939 def setUp(self):
940 super(TestRemoteSync, self).setUp()
941
942 utils_lib.write_file('foo', contents='foo')
943 git.add('foo')
944 git.commit('foo', m='msg')
945
946 self.repo.remotes.create('remote', self.remote_path)
947 self.remote = self.repo.remotes['remote']
948
949 def test_sync_changes(self):
950 master_head_before = self.remote.lookup_branch('master').head

Callers

nothing calls this directly

Calls 2

createMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected