mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-14 03:00:29 +03:00
💂 push: owner fix
This commit is contained in:
parent
e4f9c8c58c
commit
9de92dc215
2 changed files with 11 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ class Push_main(PushTest):
|
|||
@mock.patch('sys.argv', ['fdroid push', APPID_VERCODE])
|
||||
@mock.patch('fdroidserver.push.create_build_dirs')
|
||||
@mock.patch('fdroidserver.push.podman_push')
|
||||
@mock.patch('fdroidserver.common.inside_exec', mock.Mock())
|
||||
def test_podman(self, podman_push, create_build_dirs):
|
||||
common.config['virt_container_type'] = 'podman'
|
||||
push.main()
|
||||
|
|
@ -44,6 +45,7 @@ class Push_main(PushTest):
|
|||
@mock.patch('sys.argv', ['fdroid push', APPID_VERCODE])
|
||||
@mock.patch('fdroidserver.push.create_build_dirs')
|
||||
@mock.patch('fdroidserver.push.vagrant_push')
|
||||
@mock.patch('fdroidserver.common.inside_exec', mock.Mock())
|
||||
def test_vagrant(self, vagrant_push, create_build_dirs):
|
||||
common.config['virt_container_type'] = 'vagrant'
|
||||
push.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue