aboutsummaryrefslogtreecommitdiff
path: root/ruby/package_id_TEST.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/package_id_TEST.rb')
-rw-r--r--ruby/package_id_TEST.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/ruby/package_id_TEST.rb b/ruby/package_id_TEST.rb
index 46a0c46ee..45503e865 100644
--- a/ruby/package_id_TEST.rb
+++ b/ruby/package_id_TEST.rb
@@ -156,8 +156,8 @@ module Paludis
end
def test_each_metadata
- keys = { "DESCRIPTION" => 1, "INHERITED" => 1, "KEYWORDS" => 1, "EAPI" => 1, "repository_mask" => 1,
- "profile_mask" => 1, "DEPEND" => 1, "RDEPEND" => 1, "PDEPEND" => 1, "LICENSE" => 1, "PROVIDE" => 1,
+ keys = { "DESCRIPTION" => 1, "INHERITED" => 1, "KEYWORDS" => 1, "EAPI" => 1,
+ "DEPEND" => 1, "RDEPEND" => 1, "PDEPEND" => 1, "LICENSE" => 1, "PROVIDE" => 1,
"RESTRICT" => 1, "SRC_URI" => 1, "HOMEPAGE" => 1, "EBUILD" => 1, "PROPERTIES" => 1, "IUSE" => 1,
"PALUDIS_CHOICES" => 1, "DEFINED_PHASES" => 1, "SLOT" => 1 }
pid_testrepo.each_metadata do | key |
@@ -242,13 +242,6 @@ module Paludis
assert_equal ['test'], pid_testrepo.keywords_key.value
end
- def test_repository_mask_info_keys
- assert_kind_of MetadataRepositoryMaskInfoKey, pid_testrepo["repository_mask"]
- assert_kind_of RepositoryMaskInfo, pid_testrepo["repository_mask"].value
- assert_equal ["this is", "a test"], pid_testrepo["repository_mask"].value.comment
- assert_nil pid_testrepo["profile_mask"].value
- end
-
def test_build_dependencies_key
assert_kind_of MetadataDependencySpecTreeKey, pid_testrepo.build_dependencies_key
assert_kind_of AllDepSpec, pid_testrepo.build_dependencies_key.value