> Since uWSGI is not Python module but a binary server what are the best > practices for mocking uWSGI in unit tests? In particular I'm using the > Mock > library [1]. I haven't seen any code out there where people are actually > mocking uWSGI for testing things in the apps like the uwsgi.cache_exists() > call, etc. > > Thanks, > > Chad >
You can use the --pyrun option: python foobar.py became uwsgi --pyrun foobar.py -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
