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

./pants tests/python/pants_test/tasks:jar_create fails on master #56

Closed
lahosken opened this issue Apr 15, 2014 · 1 comment
Closed

Comments

@lahosken
Copy link
Contributor

$ ./pants tests/python/pants_test/tasks:jar_create

got a couple of failures, both of the form "TypeError: init() got an unexpected keyword argument 'jar_javadoc'"

...
tests/python/pants_test/tasks/test_jar_create.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pants_test.tasks.test_jar_create.JarCreateExecuteTest testMethod=test_javadoc_jar_constructor_required>
context = <pants.goal.context.Context object at 0x102e4ea10>, empty = False
kwargs = {'jar_javadoc': True}

    def assert_javadoc_jar_contents(self, context, empty=False, **kwargs):
      with self.add_products(context, 'javadoc', self.jl, 'a.html', 'b.html'):
        with self.add_products(context, 'scaladoc', self.sl, 'c.html'):
>         JarCreate(context, **kwargs).execute(context.targets())
E         TypeError: __init__() got an unexpected keyword argument 'jar_javadoc'

tests/python/pants_test/tasks/test_jar_create.py:228: TypeError

and

tests/python/pants_test/tasks/test_jar_create.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <pants_test.tasks.test_jar_create.JarCreateExecuteTest testMethod=test_javadoc_jar_not_required>
context = <pants.goal.context.Context object at 0x102f14550>, empty = True
kwargs = {'jar_javadoc': False}

    def assert_javadoc_jar_contents(self, context, empty=False, **kwargs):
      with self.add_products(context, 'javadoc', self.jl, 'a.html', 'b.html'):
        with self.add_products(context, 'scaladoc', self.sl, 'c.html'):
>         JarCreate(context, **kwargs).execute(context.targets())
E         TypeError: __init__() got an unexpected keyword argument 'jar_javadoc'

tests/python/pants_test/tasks/test_jar_create.py:228: TypeError
@lahosken
Copy link
Contributor Author

Test passes now. Much rejoicing

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

No branches or pull requests

1 participant