Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[conf] Do not traceback on empty option (RhBug:1613577) #1168

Merged
merged 1 commit into from
Aug 9, 2018

Conversation

m-blaha
Copy link
Member

@m-blaha m-blaha commented Aug 8, 2018

conf.config_file_path = FN
conf.read()
self.assertEqual(conf.installroot, '')

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Flake8]

[W391] blank line at end of file

from libdnf.conf import ConfigParser

import tests.support

substitute = ConfigParser.substitute

class SubstituteTest(tests.support.TestCase):
def test_read(self):
class ParserTest(tests.support.TestCase):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Flake8]

[E302] expected 2 blank lines, found 1

@dmach dmach merged commit cbe502d into rpm-software-management:master Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants