| |
self.assert_success(resps[1])
|
| |
|
| |
def test_without_config_env_var(self):
|
| - |
git = Git(os.path.join(self.tmp, "no-config"))
|
| - |
git.init()
|
| - |
git.write("README.md", "README")
|
| + |
git = self._create_git_repo("no-config")
|
| |
native = NativeYaml("echo hello world")
|
| |
debug(f"native.yaml: {native.yaml()}")
|
| |
git.write(".radicle/native.yaml", native.yaml())
|
| |
assert "RADICLE_NATIVE_CI" in stderr
|
| |
|
| |
def test_config_missing(self):
|
| - |
git = Git(os.path.join(self.tmp, "config-missing"))
|
| - |
git.init()
|
| - |
git.write("README.md", "README")
|
| + |
git = self._create_git_repo("config-missing")
|
| |
native = NativeYaml("echo hello world")
|
| |
debug(f"native.yaml: {native.yaml()}")
|
| |
git.write(".radicle/native.yaml", native.yaml())
|