diff options
author | James Falcon <james.falcon@canonical.com> | 2021-11-16 18:04:57 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 17:04:57 -0700 |
commit | 8c52bb3fc530742fce50f7f1061a24f3c453ef94 (patch) | |
tree | 85e181856481b93163a57110b953ae16d844e47c /tests/integration_tests/modules/test_snap.py | |
parent | f0af9f78796ad73bfc2f8016b9bf744da2f12761 (diff) | |
download | vyos-cloud-init-8c52bb3fc530742fce50f7f1061a24f3c453ef94.tar.gz vyos-cloud-init-8c52bb3fc530742fce50f7f1061a24f3c453ef94.zip |
integration_test: Speed up CI run time (#1111)
Move more tests into test_combined.py and remove the CI mark from module
tests that aren't updated often or don't represent core functionality.
Diffstat (limited to 'tests/integration_tests/modules/test_snap.py')
-rw-r--r-- | tests/integration_tests/modules/test_snap.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/integration_tests/modules/test_snap.py b/tests/integration_tests/modules/test_snap.py deleted file mode 100644 index 652efa68..00000000 --- a/tests/integration_tests/modules/test_snap.py +++ /dev/null @@ -1,30 +0,0 @@ -"""Integration test for the snap module. - -This test specifies a command to be executed by the ``snap`` module -and then checks that if that command was executed during boot. - -(This is ported from -``tests/cloud_tests/testcases/modules/snap.yaml``.)""" - -import pytest - - -USER_DATA = """\ -#cloud-config -package_update: true -snap: - squashfuse_in_container: true - commands: - - snap install hello-world -""" - - -@pytest.mark.ci -@pytest.mark.ubuntu -class TestSnap: - - @pytest.mark.user_data(USER_DATA) - def test_snap(self, client): - snap_output = client.execute("snap list") - assert "core " in snap_output - assert "hello-world " in snap_output |