summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2016-03-25 07:57:42 -0400
committerJames Cammarata <jimi@sngx.net>2016-03-25 07:58:01 -0400
commit13cb9868739647abea9a0e3344347914619ca363 (patch)
treebd7700e88e9309db040a76a564b0792f01426070
parente3d14124cbab55474bfb798a26cc2d60a9efe6a9 (diff)
downloadansible-13cb9868739647abea9a0e3344347914619ca363.tar.gz
Removing tests related to filename param (which is not in 2.0)
-rw-r--r--test/integration/roles/test_apt_repository/tasks/apt.yml42
1 files changed, 0 insertions, 42 deletions
diff --git a/test/integration/roles/test_apt_repository/tasks/apt.yml b/test/integration/roles/test_apt_repository/tasks/apt.yml
index 9c8e3ab447..49d13bc52a 100644
--- a/test/integration/roles/test_apt_repository/tasks/apt.yml
+++ b/test/integration/roles/test_apt_repository/tasks/apt.yml
@@ -2,7 +2,6 @@
- set_fact:
test_ppa_name: 'ppa:menulibre-dev/devel'
- test_ppa_filename: 'menulibre-dev'
test_ppa_spec: 'deb http://ppa.launchpad.net/menulibre-dev/devel/ubuntu {{ansible_distribution_release}} main'
test_ppa_key: 'A7AD98A1' # http://keyserver.ubuntu.com:11371/pks/lookup?search=0xD06AAF4C11DAB86DF421421EFE6B20ECA7AD98A1&op=index
@@ -146,47 +145,6 @@
apt_key: id='{{test_ppa_key}}' state=absent
#
-# TEST: apt_repository: repo=<spec> filename=<filename>
-#
-- include: 'cleanup.yml'
-
-- name: 'record apt cache mtime'
- stat: path='/var/cache/apt/pkgcache.bin'
- register: cache_before
-
-- name: 'name=<spec> filename=<filename> (expect: pass)'
- apt_repository: repo='{{test_ppa_spec}}' filename='{{test_ppa_filename}}' state=present
- register: result
-
-- assert:
- that:
- - 'result.changed'
- - 'result.state == "present"'
- - 'result.repo == "{{test_ppa_spec}}"'
-
-- name: 'examine source file'
- stat: path='/etc/apt/sources.list.d/{{test_ppa_filename}}.list'
- register: source_file
-
-- name: 'assert source file exists'
- assert:
- that:
- - 'source_file.stat.exists == True'
-
-- name: 'examine apt cache mtime'
- stat: path='/var/cache/apt/pkgcache.bin'
- register: cache_after
-
-- name: 'assert the apt cache did change'
- assert:
- that:
- - 'cache_before.stat.mtime != cache_after.stat.mtime'
-
-# When installing a repo with the spec, the key is *NOT* added
-- name: 'ensure ppa key is absent (expect: pass)'
- apt_key: id='{{test_ppa_key}}' state=absent
-
-#
# TEARDOWN
#
- include: 'cleanup.yml'