mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
TODO: unittest hint about testing logging
And comment out the use of it here.
This commit is contained in:
parent
d7c2372417
commit
6c9139e395
@ -979,12 +979,13 @@ if __name__ == "__main__":
|
||||
# Plain, not via `logger`
|
||||
print(f'{applongname} {appversion}')
|
||||
|
||||
# TODO: unittest in place of this
|
||||
class A(object):
|
||||
class B(object):
|
||||
def __init__(self):
|
||||
logger.debug('A call from A.B.__init__')
|
||||
|
||||
abinit = A.B()
|
||||
#abinit = A.B()
|
||||
|
||||
Translations.install(config.get('language') or None) # Can generate errors so wait til log set up
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user