mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
repro: Remove app
The repro app has been disabled for a long time. Its package has been removed from Debian, and there is no sign of it returning soon. Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
15 files changed
+1
-712
No files matched your search
@@ -1,43 +0,0 @@
|
||||
#
|
||||
# This file is part of FreedomBox.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Affero General Public License as
|
||||
# published by the Free Software Foundation, either version 3 of the
|
||||
# License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
# XXX: Enable tests when repro module is enabled again.
|
||||
@apps @sip @backups @sso @skip
|
||||
Feature: Repro SIP Server
|
||||
Make audio and video calls.
|
||||
|
||||
Background:
|
||||
Given I'm a logged in user
|
||||
Given the repro application is installed
|
||||
|
||||
Scenario: Enable repro application
|
||||
Given the repro application is disabled
|
||||
When I enable the repro application
|
||||
Then the repro service should be running
|
||||
|
||||
Scenario: Backup and restore repro
|
||||
Given the repro application is enabled
|
||||
And repro has been configured
|
||||
When I create a backup of the repro app data
|
||||
And I delete the repro configuration
|
||||
And I restore the repro app data backup
|
||||
Then the repro configuration should be restored
|
||||
|
||||
Scenario: Disable repro application
|
||||
Given the repro application is enabled
|
||||
When I disable the repro application
|
||||
Then the repro service should not be running
|
||||
@@ -138,21 +138,6 @@ def mldonkey_assert_number_of_ed2k_files(browser, ed2k_files_number):
|
||||
assert ed2k_files_number == site.mldonkey_get_number_of_ed2k_files(browser)
|
||||
|
||||
|
||||
@given('repro has been configured')
|
||||
def repro_configure(browser):
|
||||
site.repro_configure(browser)
|
||||
|
||||
|
||||
@when('I delete the repro configuration')
|
||||
def repro_delete_config(browser):
|
||||
site.repro_delete_config(browser)
|
||||
|
||||
|
||||
@then('the repro configuration should be restored')
|
||||
def repro_is_configured(browser):
|
||||
assert site.repro_is_configured(browser)
|
||||
|
||||
|
||||
@when('all torrents are removed from transmission')
|
||||
def transmission_remove_all_torrents(browser):
|
||||
site.transmission_remove_all_torrents(browser)
|
||||
|
||||
@@ -171,32 +171,6 @@ def _mediawiki_has_main_page(browser):
|
||||
return 'This page has been deleted.' not in content.text
|
||||
|
||||
|
||||
def repro_configure(browser):
|
||||
"""Configure repro."""
|
||||
browser.visit(
|
||||
'{}/repro/domains.html?domainUri=freedombox.local&domainTlsPort='
|
||||
'&action=Add'.format(interface.default_url))
|
||||
|
||||
|
||||
def repro_delete_config(browser):
|
||||
"""Delete the repro config."""
|
||||
browser.visit('{}/repro/domains.html?domainUri=&domainTlsPort='
|
||||
'&action=Remove&remove.freedombox.local=on'.format(
|
||||
interface.default_url))
|
||||
|
||||
|
||||
def repro_is_configured(browser):
|
||||
"""Check whether repro is configured."""
|
||||
return eventually(_repro_is_configured, [browser])
|
||||
|
||||
|
||||
def _repro_is_configured(browser):
|
||||
"""Check whether repro is configured."""
|
||||
browser.visit('{}/repro/domains.html'.format(interface.default_url))
|
||||
remove = browser.find_by_name('remove.freedombox.local')
|
||||
return bool(remove)
|
||||
|
||||
|
||||
def jsxc_login(browser):
|
||||
"""Login to JSXC."""
|
||||
access_url(browser, 'jsxc')
|
||||
|
||||
Reference in new issue
Block a user