openSUSE / dapsenv

NO LONGER MAINTAINED -- A build environment to build documentation with DAPS.
GNU General Public License v3.0
0 stars 2 forks source link

some tests are failing due to the new 'default' argument in `get_prop` #19

Closed fgerling closed 7 years ago

fgerling commented 7 years ago

Since fixing #16 4 tests are failing due to an unexpected keyword argument 'default'.

===================================================================================================== FAILURES =====================================================================================================
_______________________________________________________________________________________________ test_parse_exception _______________________________________________________________________________________________
tests/test_argparser.py:13: in test_parse_exception
    argparser = ArgParser(["test", "abc", "123"])
source/dapsenv/argparser.py:40: in __init__
    self.addDaemonCommand()
source/dapsenv/argparser.py:111: in addDaemonCommand
    logmanager_ip = configmanager.get_prop("logmanager_ip", default='127.0.0.1')
E   TypeError: <lambda>() got an unexpected keyword argument 'default'
________________________________________________________________________________________________ test_parse_success ________________________________________________________________________________________________
tests/test_argparser.py:22: in test_parse_success
    argparser = ArgParser(["config", "--global", "--property", "test"])
source/dapsenv/argparser.py:40: in __init__
    self.addDaemonCommand()
source/dapsenv/argparser.py:111: in addDaemonCommand
    logmanager_ip = configmanager.get_prop("logmanager_ip", default='127.0.0.1')
E   TypeError: <lambda>() got an unexpected keyword argument 'default'
_______________________________________________________________________________________________ test_return_version ________________________________________________________________________________________________
tests/test_argparser.py:33: in test_return_version
    argparser = ArgParser(["--version"])
source/dapsenv/argparser.py:40: in __init__
    self.addDaemonCommand()
source/dapsenv/argparser.py:111: in addDaemonCommand
    logmanager_ip = configmanager.get_prop("logmanager_ip", default='127.0.0.1')
E   TypeError: <lambda>() got an unexpected keyword argument 'default'
____________________________________________________________________________________________________ test_main _____________________________________________________________________________________________________
tests/test_init.py:11: in test_main
    main([""])
source/dapsenv/__init__.py:49: in main
    argparser = ArgParser(args)
source/dapsenv/argparser.py:40: in __init__
    self.addDaemonCommand()
source/dapsenv/argparser.py:111: in addDaemonCommand
    logmanager_ip = configmanager.get_prop("logmanager_ip", default='127.0.0.1')
E   TypeError: <lambda>() got an unexpected keyword argument 'default'