Commit Graph

7 Commits

Author SHA1 Message Date
Henrique Joaquim
9d26d7746d Remove mockings (#3378)
* removed mock break lines

* removing debug print

* keeping break line
2022-11-11 18:42:00 +00:00
Chavithra
d4a462cbe9 Logging : detect pypi install + PIIS filtering (#2973)
* LOG : add app_name=gst_packaged_pypi

* LOG : update piis filtering

* Linting

* Log : generation

* Tests : log generation

* Linting

* Tests : piis filtering

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-24 09:35:02 +02:00
Chavithra
017725eb63 Improving styles loading (#2569)
* Core : changing path variable name

* Core : styles

* Terminal : style

* Core : styles

* Core : styles

* Fixing linting

* Fix linting
2022-09-20 14:34:30 +02:00
Om Gupta
3d0190e35b New path for .env (#2508)
* add log path

* add test to check if log file is in correct dir

* env path

* black

* mypy fix

* linting

* add make_paths and change references

* terminal change

* change constants to paths

* change names

* black

* mypy

* mypy

* pylint else

* add make paths

* remove custom user dir name

Co-authored-by: Chavithra <chavithra@gmail.com>
2022-09-12 11:56:45 +01:00
Om Gupta
eff4632df9 New path for logs (#2502)
* add log path

* add test to check if log file is in correct dir

* small change

* Adding paths

* change to paths.py

* black

Co-authored-by: Chavithra Parana <chavithra@gmail.com>
2022-09-07 12:14:17 +01:00
Christian Clauss
6e7971860a pre-commit autoupdate ; pre-commit run --all-files (#2330) 2022-08-27 15:34:04 +01:00
Colin Delahunty
4d62b262a2 Add Logger Tests (#1707)
* Added openbb_terminal/logger tests

* Added tests for path_tracking

* Just in case lol

* Finished test_directories

* Added more tests

* Fixed flake8 error

* Fixed flake8 error

* Coverage for test_expired_files

* Added handling for no boto3

* Added test mock

* Added test mock

* Added fix

* Test fix

* Fix for windows

* Added int

* More tests

* Added fixes

* Fixed black issues

* Tests : update fixture examples

* Tests : core/log/generation

* Core : log/generation

* replaced conftest delete with temp_path

* Fixed mocks

* refactored get settings to use tmp_path

* reverted codespell

* Making random faillign test linux only

* Swapped to fixture

* Fixed conftest

* Logs collection : add docstring + clean lines

* Tests : fix windows specific issue

* Tests : skip unsound tests which changes logger state

* Black

* Linting

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
2022-05-04 01:00:25 +02:00