aboutsummaryrefslogtreecommitdiff
path: root/python/additional_tests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/additional_tests.cc')
-rw-r--r--python/additional_tests.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/additional_tests.cc b/python/additional_tests.cc
index c5f60ee8c..a96a7f4e4 100644
--- a/python/additional_tests.cc
+++ b/python/additional_tests.cc
@@ -176,6 +176,12 @@ namespace metadata_key
m.value();
}
+ void test_metadata_choices_key(const MetadataValueKey<std::tr1::shared_ptr<const Choices> > & m)
+ {
+ test_metadata_key(m);
+ m.value();
+ }
+
void test_metadata_repository_mask_info_key(const MetadataValueKey<std::tr1::shared_ptr<const RepositoryMaskInfo> > & m)
{
test_metadata_key(m);
@@ -306,6 +312,7 @@ void expose_additional_tests()
bp::def("test_metadata_string_key", &metadata_key::test_metadata_string_key);
bp::def("test_metadata_time_key", &metadata_key::test_metadata_time_key);
bp::def("test_metadata_contents_key", &metadata_key::test_metadata_contents_key);
+ bp::def("test_metadata_choices_key", &metadata_key::test_metadata_choices_key);
bp::def("test_metadata_repository_mask_info_key", &metadata_key::test_metadata_repository_mask_info_key);
bp::def("test_metadata_keyword_name_set_key", &metadata_key::test_metadata_set_key<KeywordNameSet>);
bp::def("test_metadata_string_set_key", &metadata_key::test_metadata_set_key<Set<std::string> >);