| |
@@ -2307,7 +2307,9 @@
|
| |
content='[koji]\ntargets=rawhide f28 fedora epel')
|
| |
|
| |
@patch('os.path.exists', return_value=False)
|
| |
- def test_no_config_file_is_create(self, exists):
|
| |
+ @patch('pyrpkg.utils.validate_path')
|
| |
+ def test_no_config_file_is_create(self, validate_path, exists):
|
| |
+ validate_path.return_value = self.cloned_repo_path
|
| |
with patch('sys.argv', new=self.fake_cmd):
|
| |
cli = self.new_cli()
|
| |
|
| |
@@ -2547,7 +2549,7 @@
|
| |
def test_retire_fedora_release(self):
|
| |
self.do_not_retire_release("f30", "disabled")
|
| |
self.retire_release("f30", "pending")
|
| |
- self.do_not_retire_release("f30", "frozen")
|
| |
+ self.retire_release("f30", "frozen")
|
| |
self.do_not_retire_release("f30", "current")
|
| |
self.do_not_retire_release("f30", "archived")
|
| |
self.retire_release("unknown_fedora_release", None)
|
| |
JIRA: RHELCMP-11389
Fixes: #506
Signed-off-by: Ondrej Nosek onosek@redhat.com