aimclub / FEDOT

Automated modeling and machine learning framework FEDOT
https://fedot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
619 stars 84 forks source link

Add unit tests for ALL InputData and Data classes methods #1200 #1251

Open andreygetmanov opened 5 months ago

andreygetmanov commented 5 months ago

Summary

Solution of #1200 issue. Add unit tests for:

Context

Closes #1200

pep8speaks commented 5 months ago

Hello @andreygetmanov! Thanks for updating this PR. We checked the lines you've touched for PEPΒ 8 issues, and found:

Line 6:1: F401 'typing.Callable' imported but unused Line 158:52: F811 redefinition of unused 'data_setup' from line 18

Comment last updated at 2024-02-20 13:01:55 UTC
github-actions[bot] commented 5 months ago

All PEP8 errors has been fixed, thanks :heart:

Comment last updated at
codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5e726e9) 80.05% compared to head (936d8f9) 80.06%. Report is 3 commits behind head on master.

:exclamation: Current head 936d8f9 differs from pull request most recent head b5b7a1a. Consider uploading reports for the commit b5b7a1a to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1251 +/- ## ======================================= Coverage 80.05% 80.06% ======================================= Files 149 149 Lines 10278 10278 ======================================= + Hits 8228 8229 +1 + Misses 2050 2049 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

andreygetmanov commented 4 months ago

/fix-pep8

andreygetmanov commented 4 months ago

Π½Π΅ ΡƒΠ²Π΅Ρ€Π΅Π½, Ρ‡Ρ‚ΠΎ ΠΏΡ€Π°Π², Π½ΠΎ я Π±Ρ‹ Π½Π΅ стал ΠΏΠ»ΠΎΠ΄ΠΈΡ‚ΡŒ мноТСство Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΉ Π²ΠΈΠ΄Π° get_*_data_from_*, Π° написал Π±Ρ‹ ΠΎΠ΄Π½Ρƒ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΡŽ считывания Π΄Π°Π½Π½Ρ‹Ρ…, Π³Π΄Π΅ ΠΌΠΎΠΆΠ½ΠΎ ΠΌΠ΅Π½ΡΡ‚ΡŒ Π°Ρ€Π³ΡƒΠΌΠ΅Π½Ρ‚Ρ‹. каТСтся, Ρ‚Π°ΠΊΠΈΠΌ ΠΎΠ±Ρ€Π°Π·ΠΎΠΌ Π½Π΅ Π±ΡƒΠ΄Π΅Ρ‚ 100500 Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΉ, каТдая ΠΈΠ· ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Ρ… слуТит обвязкой для InputData.from_*

ΠŸΠΎΠΏΡ€Π°Π²ΠΈΠ»