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

Error 'module' object has no attribute when test download #17356

Closed
kimnamcham opened this issue Aug 27, 2018 · 1 comment
Closed

Error 'module' object has no attribute when test download #17356

kimnamcham opened this issue Aug 27, 2018 · 1 comment
Labels

Comments

@kimnamcham
Copy link

@kimnamcham kimnamcham commented Aug 27, 2018

I tried with already finished extractor like StreamangoIE and StreamcloudIE. Both crashed with the same error.

MacBook-Pro:test MinhDV$ python test_download.py streamango.Streamango
Traceback (most recent call last):
File "test_download.py", line 265, in
unittest.main()
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 94, in init
self.parseArgs(argv)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 149, in parseArgs
self.createTests()
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 158, in createTests
self.module)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'streamango'

Same issues in topic #13266

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 27, 2018

It's TestDownload.test_Streamango not streamango.Streamango.

@dstftw dstftw closed this Aug 27, 2018
@dstftw dstftw added the invalid label Aug 27, 2018
@ytdl-org ytdl-org locked and limited conversation to collaborators Aug 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.