Hello community,

here is the log from the commit of package python3-img-proof for 
openSUSE:Factory checked in at 2019-10-27 13:41:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-img-proof (Old)
 and      /work/SRC/openSUSE:Factory/.python3-img-proof.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-img-proof"

Sun Oct 27 13:41:20 2019 rev:3 rq:743004 version:4.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-img-proof/python3-img-proof.changes      
2019-10-18 15:42:42.231647235 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-img-proof.new.2990/python3-img-proof.changes
    2019-10-27 13:41:25.517296743 +0100
@@ -1,0 +2,6 @@
+Fri Oct 25 19:11:23 UTC 2019 - Sean Marlow <[email protected]>
+
+- Update to v4.5.0 (2019-10-25)
+  + Use registerutils functions to check registration.
+
+-------------------------------------------------------------------

Old:
----
  img-proof-4.4.0.tar.gz

New:
----
  img-proof-4.5.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-img-proof.spec ++++++
--- /var/tmp/diff_new_pack.HpVMY2/_old  2019-10-27 13:41:26.873298378 +0100
+++ /var/tmp/diff_new_pack.HpVMY2/_new  2019-10-27 13:41:26.873298378 +0100
@@ -18,7 +18,7 @@
 
 %bcond_without test
 Name:           python3-img-proof
-Version:        4.4.0
+Version:        4.5.0
 Release:        0
 Summary:        Command line and API for testing custom images
 License:        GPL-3.0-or-later

++++++ img-proof-4.4.0.tar.gz -> img-proof-4.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/img-proof-4.4.0/CHANGES.md 
new/img-proof-4.5.0/CHANGES.md
--- old/img-proof-4.4.0/CHANGES.md      2019-10-14 22:29:35.000000000 +0200
+++ new/img-proof-4.5.0/CHANGES.md      2019-10-25 21:08:47.000000000 +0200
@@ -1,3 +1,9 @@
+v4.5.0 (2019-10-25)
+===================
+
+- Use registerutils functions to check registration.
+  [\#224](https://github.com/SUSE-Enceladus/ipa/pull/224)
+
 v4.4.0 (2019-10-14)
 ===================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/img-proof-4.4.0/PKG-INFO new/img-proof-4.5.0/PKG-INFO
--- old/img-proof-4.4.0/PKG-INFO        2019-10-14 22:30:28.000000000 +0200
+++ new/img-proof-4.5.0/PKG-INFO        2019-10-25 21:09:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: img-proof
-Version: 4.4.0
+Version: 4.5.0
 Summary: Package for automated testing of cloud images.
 Home-page: https://github.com/SUSE-Enceladus/img-proof
 Author: SUSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/img-proof-4.4.0/img_proof/__init__.py 
new/img-proof-4.5.0/img_proof/__init__.py
--- old/img-proof-4.4.0/img_proof/__init__.py   2019-10-14 22:29:35.000000000 
+0200
+++ new/img-proof-4.5.0/img_proof/__init__.py   2019-10-25 21:08:47.000000000 
+0200
@@ -22,4 +22,4 @@
 
 __author__ = """SUSE"""
 __email__ = '[email protected]'
-__version__ = '4.4.0'
+__version__ = '4.5.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/img-proof-4.4.0/img_proof.egg-info/PKG-INFO 
new/img-proof-4.5.0/img_proof.egg-info/PKG-INFO
--- old/img-proof-4.4.0/img_proof.egg-info/PKG-INFO     2019-10-14 
22:30:28.000000000 +0200
+++ new/img-proof-4.5.0/img_proof.egg-info/PKG-INFO     2019-10-25 
21:09:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: img-proof
-Version: 4.4.0
+Version: 4.5.0
 Summary: Package for automated testing of cloud images.
 Home-page: https://github.com/SUSE-Enceladus/img-proof
 Author: SUSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/img-proof-4.4.0/package/python3-img-proof.spec 
new/img-proof-4.5.0/package/python3-img-proof.spec
--- old/img-proof-4.4.0/package/python3-img-proof.spec  2019-10-14 
22:29:35.000000000 +0200
+++ new/img-proof-4.5.0/package/python3-img-proof.spec  2019-10-25 
21:08:47.000000000 +0200
@@ -18,7 +18,7 @@
 
 %bcond_without test
 Name:           python3-img-proof
-Version:        4.4.0
+Version:        4.5.0
 Release:        0
 Summary:        Command line and API for testing custom images
 License:        GPL-3.0-or-later
@@ -60,7 +60,7 @@
 BuildRequires:  python3-pytest-cov
 BuildRequires:  python3-testinfra
 %endif
-Obsoletes:      python3-ipa < 4.4.0
+Obsoletes:      python3-ipa < 4.5.0
 
 %description
 img-proof provides a command line utility to test images in
@@ -71,7 +71,7 @@
 Group:          Development/Languages/Python
 Requires:       python3-susepubliccloudinfo
 PreReq:         python3-img-proof = %{version}
-Obsoletes:      python3-ipa-tests < 4.4.0
+Obsoletes:      python3-ipa-tests < 4.5.0
 
 %description tests
 Directory of infrastructure tests for testing images.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/img-proof-4.4.0/setup.cfg 
new/img-proof-4.5.0/setup.cfg
--- old/img-proof-4.4.0/setup.cfg       2019-10-14 22:30:28.000000000 +0200
+++ new/img-proof-4.5.0/setup.cfg       2019-10-25 21:09:38.000000000 +0200
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 4.4.0
+current_version = 4.5.0
 commit = True
 tag = False
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/img-proof-4.4.0/setup.py new/img-proof-4.5.0/setup.py
--- old/img-proof-4.4.0/setup.py        2019-10-14 22:29:35.000000000 +0200
+++ new/img-proof-4.5.0/setup.py        2019-10-25 21:08:47.000000000 +0200
@@ -43,7 +43,7 @@
 
 setup(
     name='img-proof',
-    version='4.4.0',
+    version='4.5.0',
     description="Package for automated testing of cloud images.",
     long_description=readme,
     long_description_content_type="text/markdown",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/img-proof-4.4.0/usr/share/lib/img_proof/tests/conftest.py 
new/img-proof-4.5.0/usr/share/lib/img_proof/tests/conftest.py
--- old/img-proof-4.4.0/usr/share/lib/img_proof/tests/conftest.py       
2019-10-14 22:29:35.000000000 +0200
+++ new/img-proof-4.5.0/usr/share/lib/img_proof/tests/conftest.py       
2019-10-25 21:08:47.000000000 +0200
@@ -7,11 +7,12 @@
 @pytest.fixture()
 def check_cloud_register(host):
     def f():
-        client_log = host.file('/var/log/cloudregister')
-        return all([
-            client_log.contains('ERROR') is False,
-            client_log.contains('failed') is False
-        ])
+        result = host.run(
+            "python3 -c 'from cloudregister import registerutils; "
+            
"print(registerutils.is_registered(registerutils.get_current_smt()))'"
+        )
+        output = result.stdout.strip()
+        return output == '1'
     return f
 
 


Reply via email to