Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

jasmine init raises TypeError #48

Closed
moggers87 opened this issue Mar 9, 2018 · 0 comments
Closed

jasmine init raises TypeError #48

moggers87 opened this issue Mar 9, 2018 · 0 comments

Comments

@moggers87
Copy link
Contributor

$ pip freeze | grep jasmine
jasmine==3.1.0
jasmine-core==3.1.0
$ jasmine init
Traceback (most recent call last):
  File "/home/moggers/.virtualenvs/inboxen/bin/jasmine", line 11, in <module>
    load_entry_point('jasmine==3.1.0', 'console_scripts', 'jasmine')()
  File "/home/moggers/.virtualenvs/inboxen/lib/python2.7/site-packages/jasmine/entry_points.py", line 15, in begin
    cmd.run(sys.argv[1:])
  File "/home/moggers/.virtualenvs/inboxen/lib/python2.7/site-packages/jasmine/entry_points.py", line 64, in run
    args.func(args)
TypeError: init() takes exactly 1 argument (2 given)

A brief look at the code reveals that the init command method doesn't accept any arguments other than self and that call Command.run with "init" isn't covered by tests. I plan on submitting a PR later today to fix this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant