<feed xmlns='http://www.w3.org/2005/Atom'>
<title>csa/devops/ansible-patches/openshift.git/roles/lib_utils/src/test/unit, branch ands</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/'/>
<entry>
<title>Fix python3 error in repoquery</title>
<updated>2017-05-13T15:04:39+00:00</updated>
<author>
<name>Jeff Peeler</name>
<email>jpeeler@redhat.com</email>
</author>
<published>2017-05-12T22:51:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=7fb814d6197c581b0dfcc974a5b0a4646eab6cea'/>
<id>7fb814d6197c581b0dfcc974a5b0a4646eab6cea</id>
<content type='text'>
Explicitly convert from bytes to string so that splitting the string is
successful. This change works with python 2 as well.

Closes #4182
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Explicitly convert from bytes to string so that splitting the string is
successful. This change works with python 2 as well.

Closes #4182
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend repoquery command (of lib_utils role) to ignore excluders</title>
<updated>2017-05-11T11:42:20+00:00</updated>
<author>
<name>Jan Chaloupka</name>
<email>jchaloup@redhat.com</email>
</author>
<published>2017-05-02T11:21:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=13b58846f6c595c9530fe49e3a00ed6f3f42a896'/>
<id>13b58846f6c595c9530fe49e3a00ed6f3f42a896</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding a few more test cases.  Fixed a bug when key was empty. Safeguard against yedit module being passed an empty key</title>
<updated>2017-03-28T19:28:34+00:00</updated>
<author>
<name>Kenny Woodson</name>
<email>kwoodson@redhat.com</email>
</author>
<published>2017-03-24T17:07:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=aa9e19c20b745f91a47292f8754a8cf52017c3e4'/>
<id>aa9e19c20b745f91a47292f8754a8cf52017c3e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove dummy setup/teardown methods</title>
<updated>2017-03-06T18:49:16+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-02-28T14:16:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=700d907c0771405c3deb464d4972a1510025941d'/>
<id>700d907c0771405c3deb464d4972a1510025941d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up test files</title>
<updated>2017-03-06T18:49:16+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-02-28T13:32:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=dace1a426b0a9b2dec4d8290370f3ba0dd882e12'/>
<id>dace1a426b0a9b2dec4d8290370f3ba0dd882e12</id>
<content type='text'>
They are not executable anymore, and tests are now meant to be run
through pytest.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They are not executable anymore, and tests are now meant to be run
through pytest.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove redundant assertion</title>
<updated>2017-03-06T13:03:57+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-03-06T09:35:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=3577754a29953c00f65f9b0b7ad257597c9ceb2d'/>
<id>3577754a29953c00f65f9b0b7ad257597c9ceb2d</id>
<content type='text'>
That line is testing Python's list.count method, instead of yedit.
The assertion right above is a superset of it, as it checks for
equality to some expected value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
That line is testing Python's list.count method, instead of yedit.
The assertion right above is a superset of it, as it checks for
equality to some expected value.
</pre>
</div>
</content>
</entry>
<entry>
<title>raise exceptions when walking through object path</title>
<updated>2017-02-28T17:33:18+00:00</updated>
<author>
<name>Joel Diaz</name>
<email>jdiaz@redhat.com</email>
</author>
<published>2017-02-28T17:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=0d9ce34564d72520407cb1dba9a785e2faec49b9'/>
<id>0d9ce34564d72520407cb1dba9a785e2faec49b9</id>
<content type='text'>
if we're given path a.b.c and the existing object is:
a:
  b:
   - item1
raise an exception due to unexpected objects found while traversing the path (ie. b is a list, not a dict)

also, add_entry assumes new dicts for each sub element when creating elements besides the final assignment value.
doing something like a.b.c[0] = 12 where 'c' doesn't exist raises an exception

add test cases to cover:
access path that differs from existing object
create new objects with an embedded list in the path
create new object with a list at the end (define the end list in the passed in 'value' to avoid this exception)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if we're given path a.b.c and the existing object is:
a:
  b:
   - item1
raise an exception due to unexpected objects found while traversing the path (ie. b is a list, not a dict)

also, add_entry assumes new dicts for each sub element when creating elements besides the final assignment value.
doing something like a.b.c[0] = 12 where 'c' doesn't exist raises an exception

add test cases to cover:
access path that differs from existing object
create new objects with an embedded list in the path
create new object with a list at the end (define the end list in the passed in 'value' to avoid this exception)
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed unused code.  Made tests executable.</title>
<updated>2017-02-21T14:16:30+00:00</updated>
<author>
<name>Kenny Woodson</name>
<email>kwoodson@redhat.com</email>
</author>
<published>2017-02-21T14:16:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=b21a62a937eb2abb7d32d64c826ba5a357a35a05'/>
<id>b21a62a937eb2abb7d32d64c826ba5a357a35a05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unset exec bit in tests, add missing requirements</title>
<updated>2017-02-19T14:47:50+00:00</updated>
<author>
<name>Jason DeTiberus</name>
<email>jdetiber@redhat.com</email>
</author>
<published>2017-02-18T23:25:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=218af8732f39cb5e129be8bdb9c7ae4a8e9f6067'/>
<id>218af8732f39cb5e129be8bdb9c7ae4a8e9f6067</id>
<content type='text'>
was: separate lib_ unit tests from other unit tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
was: separate lib_ unit tests from other unit tests
</pre>
</div>
</content>
</entry>
<entry>
<title>Include missing unit tests to test runner config</title>
<updated>2017-02-19T14:15:41+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-02-18T18:52:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=6ea3e740607297a9800a6ef24d6c07dfae1c873d'/>
<id>6ea3e740607297a9800a6ef24d6c07dfae1c873d</id>
<content type='text'>
We were not running those tests in CI, bad :(
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were not running those tests in CI, bad :(
</pre>
</div>
</content>
</entry>
</feed>
