diff options
Diffstat (limited to 'src/software/test')
-rw-r--r-- | src/software/test/base.py | 2 | ||||
-rw-r--r-- | src/software/test/package.py | 2 | ||||
-rw-r--r-- | src/software/test/repository.py | 2 | ||||
-rw-r--r-- | src/software/test/rpmcache.py | 6 | ||||
-rwxr-xr-x | src/software/test/run.py | 2 | ||||
-rwxr-xr-x | src/software/test/test_hosted_software_collection.py | 2 | ||||
-rwxr-xr-x | src/software/test/test_hosted_software_identity_resource.py | 2 | ||||
-rwxr-xr-x | src/software/test/test_installed_software_identity.py | 4 | ||||
-rwxr-xr-x | src/software/test/test_member_of_software_collection.py | 2 | ||||
-rwxr-xr-x | src/software/test/test_resource_for_software_identity.py | 2 | ||||
-rwxr-xr-x | src/software/test/test_software_identity.py | 2 | ||||
-rwxr-xr-x | src/software/test/test_software_identity_resource.py | 2 | ||||
-rwxr-xr-x | src/software/test/test_system_software_collection.py | 2 | ||||
-rw-r--r-- | src/software/test/util.py | 2 |
14 files changed, 17 insertions, 17 deletions
diff --git a/src/software/test/base.py b/src/software/test/base.py index f0188ed..2fe1173 100644 --- a/src/software/test/base.py +++ b/src/software/test/base.py @@ -1,5 +1,5 @@ # -*- encoding: utf-8 -*- -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/package.py b/src/software/test/package.py index 01cce2b..9f54a8d 100644 --- a/src/software/test/package.py +++ b/src/software/test/package.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- Coding:utf-8 -*- # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/repository.py b/src/software/test/repository.py index 1b66d15..8f88a17 100644 --- a/src/software/test/repository.py +++ b/src/software/test/repository.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- Coding:utf-8 -*- # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/rpmcache.py b/src/software/test/rpmcache.py index 6e61271..18b4779 100644 --- a/src/software/test/rpmcache.py +++ b/src/software/test/rpmcache.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- Coding:utf-8 -*- # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -495,7 +495,7 @@ def get_pkg_database( where safe is a list of instances of Package, representing installed software, these should be used for not-dangerous tests; - both older + both older dangerous is a list of instances of Package of selected packages, that are not installed, but available; instances contain both newer and older version of package @@ -531,7 +531,7 @@ def get_pkg_database( dangerous_pkgs = make_dangerous_list(installed) safe_pkgs = make_safe_list(installed, exclude=set( pkg.name for pkg in dangerous_pkgs)) - + if use_cache: repolist = _get_repo_list() if repolist in (None, []) else repolist _download_dangerous(repolist, dangerous_pkgs, cache_dir) diff --git a/src/software/test/run.py b/src/software/test/run.py index 18ee1c4..74c2cf3 100755 --- a/src/software/test/run.py +++ b/src/software/test/run.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- Coding:utf-8 -*- # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/test_hosted_software_collection.py b/src/software/test/test_hosted_software_collection.py index 3d2f30a..ccd00b8 100755 --- a/src/software/test/test_hosted_software_collection.py +++ b/src/software/test/test_hosted_software_collection.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/test_hosted_software_identity_resource.py b/src/software/test/test_hosted_software_identity_resource.py index 29ed5f9..6a60e61 100755 --- a/src/software/test/test_hosted_software_identity_resource.py +++ b/src/software/test/test_hosted_software_identity_resource.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/test_installed_software_identity.py b/src/software/test/test_installed_software_identity.py index 6a33b78..b796156 100755 --- a/src/software/test/test_installed_software_identity.py +++ b/src/software/test/test_installed_software_identity.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -171,7 +171,7 @@ class TestInstalledSoftwareIdentity(base.SoftwareBaseTestCase): objpath = self.make_op(pkg) self.assertFalse(rpmcache.is_pkg_installed(pkg)) - inst = pywbem.CIMInstance(self.CLASS_NAME, + inst = pywbem.CIMInstance(self.CLASS_NAME, properties={ "InstalledSoftware" : objpath["InstalledSoftware"], "System" : objpath["System"]}, diff --git a/src/software/test/test_member_of_software_collection.py b/src/software/test/test_member_of_software_collection.py index f5d5076..0f6bac8 100755 --- a/src/software/test/test_member_of_software_collection.py +++ b/src/software/test/test_member_of_software_collection.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/test_resource_for_software_identity.py b/src/software/test/test_resource_for_software_identity.py index c29b394..4c7e6b8 100755 --- a/src/software/test/test_resource_for_software_identity.py +++ b/src/software/test/test_resource_for_software_identity.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/test_software_identity.py b/src/software/test/test_software_identity.py index dc96315..cf92bab 100755 --- a/src/software/test/test_software_identity.py +++ b/src/software/test/test_software_identity.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/test_software_identity_resource.py b/src/software/test/test_software_identity_resource.py index 9e0b51a..34e5008 100755 --- a/src/software/test/test_software_identity_resource.py +++ b/src/software/test/test_software_identity_resource.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/test_system_software_collection.py b/src/software/test/test_system_software_collection.py index 2204415..d68da47 100755 --- a/src/software/test/test_system_software_collection.py +++ b/src/software/test/test_system_software_collection.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public diff --git a/src/software/test/util.py b/src/software/test/util.py index 4918b24..958f1d3 100644 --- a/src/software/test/util.py +++ b/src/software/test/util.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- Coding:utf-8 -*- # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public |