From 075ccf402a100f1eec6a6e99238a3687ba5b5ecd Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Wed, 28 Feb 2018 19:13:11 +0100 Subject: [PATCH] functional-tests: Minor cleanup of license headers and whitespace Signed-off-by: James Valleroy --- functional_tests/README.md | 8 ++++---- functional_tests/features/server_administration.feature | 2 +- functional_tests/features/storage_snapshots.feature | 2 +- functional_tests/features/voip_and_chat_server.feature | 2 +- functional_tests/step_definitions/system.py | 2 +- functional_tests/support/interface.py | 2 +- functional_tests/support/system.py | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/functional_tests/README.md b/functional_tests/README.md index 813b92143..48ff7c5ba 100644 --- a/functional_tests/README.md +++ b/functional_tests/README.md @@ -9,10 +9,10 @@ $ sudo apt install xvfb # optional, to avoid opening browser windows $ pip3 install pytest-xvfb # optional, to avoid opening browser windows ``` -- Install the latest version of geckodriver. +- Install the latest version of geckodriver. It's usually a single binary which you can place at /usr/local/bin/geckodriver -- Install the latest version of Mozilla Firefox. +- Install the latest version of Mozilla Firefox. Download and extract the latest version from the Firefox website and symlink the binary named `firefox` to /usr/local/bin. Geckodriver will then use whatever version of Firefox you symlink as /usr/local/bin/firefox. @@ -24,7 +24,7 @@ Geckodriver will then use whatever version of Firefox you symlink as /usr/local/ should run the tests using FreedomBox running on a throw-away VM. The VM should have NAT port-forwarding enabled so that 4430 on the -host forwards to 443 on the guest. The web interface of FreedomBox +host forwards to 443 on the guest. The web interface of FreedomBox should be accessible from the host system at https://localhost:4430/. # Setup FreedomBox Service for tests @@ -53,7 +53,7 @@ can also specify which tests to run, by tag or keyword: $ py.test -k essential ``` -If xvfb is installed and you still want to see browser windows, use the +If xvfb is installed and you still want to see browser windows, use the `--no-xvfb` command-line argument. ``` diff --git a/functional_tests/features/server_administration.feature b/functional_tests/features/server_administration.feature index 48cb0a03d..ba3ed6c37 100644 --- a/functional_tests/features/server_administration.feature +++ b/functional_tests/features/server_administration.feature @@ -26,7 +26,7 @@ Background: Scenario: Enable cockpit application Given the cockpit application is disabled When I enable the cockpit application - Then the cockpit site should be available + Then the cockpit site should be available Scenario: Disable cockpit application Given the cockpit application is enabled diff --git a/functional_tests/features/storage_snapshots.feature b/functional_tests/features/storage_snapshots.feature index 2e98d6006..7669867d5 100644 --- a/functional_tests/features/storage_snapshots.feature +++ b/functional_tests/features/storage_snapshots.feature @@ -1,5 +1,5 @@ # -# This file is part of Plinth-tester. +# 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 diff --git a/functional_tests/features/voip_and_chat_server.feature b/functional_tests/features/voip_and_chat_server.feature index 7d45bb710..c2bdbd46a 100644 --- a/functional_tests/features/voip_and_chat_server.feature +++ b/functional_tests/features/voip_and_chat_server.feature @@ -16,7 +16,7 @@ # @apps @matrixsynapse -Feature: VoIP and Chat Server +Feature: VoIP and Chat Server Run Matrix Synapse server Background: diff --git a/functional_tests/step_definitions/system.py b/functional_tests/step_definitions/system.py index 3d7b108ba..170f2b0cc 100644 --- a/functional_tests/step_definitions/system.py +++ b/functional_tests/step_definitions/system.py @@ -1,5 +1,5 @@ # -# This file is part of Plinth-tester. +# 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 diff --git a/functional_tests/support/interface.py b/functional_tests/support/interface.py index 9051b8d4f..46abb363f 100644 --- a/functional_tests/support/interface.py +++ b/functional_tests/support/interface.py @@ -1,5 +1,5 @@ # -# This file is part of Plinth-tester. +# 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 diff --git a/functional_tests/support/system.py b/functional_tests/support/system.py index 501d7b2a9..3ba750591 100644 --- a/functional_tests/support/system.py +++ b/functional_tests/support/system.py @@ -1,5 +1,5 @@ # -# This file is part of Plinth-tester. +# 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