"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/tests/unit/ksfixtures/hacking.py" between
keystone-16.0.1.tar.gz and keystone-17.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Ussuri" series (latest release).

hacking.py  (keystone-16.0.1):hacking.py  (keystone-17.0.0)
skipping to change at line 310 skipping to change at line 310
(3, 12, 'K005'), (3, 12, 'K005'),
], ],
}, },
{ {
'code': """ 'code': """
# this should not be an error # this should not be an error
LOG = log.getLogger(__name__) LOG = log.getLogger(__name__)
try: try:
something = True something = True
except AssertionError as e: except AssertionError as e:
LOG.warning(six.text_type(e)) LOG.warning(e)
raise exception.Unauthorized(e) raise exception.Unauthorized(e)
""", """,
'expected_errors': [], 'expected_errors': [],
}, },
{ {
'code': """ 'code': """
# this should not be an error # this should not be an error
LOG = log.getLogger(__name__) LOG = log.getLogger(__name__)
try: try:
pass pass
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)