madzak / python-json-logger

Json Formatter for the standard python logger
BSD 2-Clause "Simplified" License
1.7k stars 231 forks source link

correct path in tests for importing from src #101

Closed matanshavit closed 3 years ago

matanshavit commented 3 years ago

Since the system path is being appended to include the folder for production code, it should have 'src' only, as opposed to including the hyphenated name of the library. This changes allows tests to be run locally with python -m unittest using Python 3.

Resolves https://github.com/madzak/python-json-logger/issues/102