-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Nosetests are failing on Windows #251
Comments
Looks like these are all cascading from the packaging error, so if you fix that you'll probably get the rest. According to https://github.com/Miserlou/Zappa/blob/master/zappa/util.py#L6 it "should work with the exact same behavior on multiple platforms", so that's.. encouraging. :[ |
PDB output: (zappa-dev) F:\Programming\Repositories\Zappa>nosetests --with-coverage --cover-package=zappa --pdb
.....> c:\users\mike\zappa-dev\lib\ntpath.py(116)splitdrive()
-> normp = p.replace(altsep, sep)
(Pdb) where
c:\python27\lib\unittest\case.py(329)run()
-> testMethod()
f:\programming\repositories\zappa\tests\utils.py(49)wrapper()
-> return function(*args, **kwargs)
f:\programming\repositories\zappa\tests\tests.py(460)test_cli_aws()
-> zappa_cli.update()
f:\programming\repositories\zappa\zappa\cli.py(319)update()
-> self.create_package()
f:\programming\repositories\zappa\zappa\cli.py(933)create_package()
-> django_py = ''.join(os.path.join([base, os.sep, 'ext', os.sep, 'django.py']))
c:\users\mike\zappa-dev\lib\ntpath.py(65)join()
-> result_drive, result_path = splitdrive(path)
> c:\users\mike\zappa-dev\lib\ntpath.py(116)splitdrive()
-> normp = p.replace(altsep, sep)
(Pdb) args
p = ['F:\\Programming\\Repositories\\Zappa\\zappa', '\\', u'ext', '\\', u'django.py']
(Pdb) p p
['F:\\Programming\\Repositories\\Zappa\\zappa', '\\', u'ext', '\\', u'django.py']
(Pdb) step
E...> c:\users\mike\zappa-dev\lib\ntpath.py(116)splitdrive()
-> normp = p.replace(altsep, sep)
(Pdb) p normp
*** NameError: NameError("name 'normp' is not defined",)
(Pdb) step
4 endpoint [00:00, 1000.01 endpoint/s]
4 endpoint [00:00, 999.95 endpoint/s]
................> c:\python27\lib\shutil.py(250)rmtree()
-> os.remove(fullname) Yeah, it's definitely |
drummonds@d2831fa |
Tests now running and my web site deployed |
Signed-off-by: Mike Lloyd <[email protected]>
Ran the nosetests on Windows, they are currently failing in a virtualenv:
Here is my %PATH%:
Here is my env:
Here is the version of zappa I'm working with:
I'll arbitrarily work on it for a bit, see if I make some progress.
The text was updated successfully, but these errors were encountered: