mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-03 00:51:11 +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`
|
# Plain, not via `logger`
|
||||||
print(f'{applongname} {appversion}')
|
print(f'{applongname} {appversion}')
|
||||||
|
|
||||||
|
# TODO: unittest in place of this
|
||||||
class A(object):
|
class A(object):
|
||||||
class B(object):
|
class B(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
logger.debug('A call from A.B.__init__')
|
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
|
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