Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TDL-14397-Add skipped log when first row is empty #46

Merged

Conversation

namrata270998
Copy link
Contributor

Description of change

  • Add a logger message when the sheet has the first row empty (no headers) recording that the sheet is being skipped.

Manual QA steps

  • Added a unittest that the logger message is correctly printed for no headers.

Risks

Rollback steps

  • revert this branch

@@ -0,0 +1,78 @@
import unittest
from unittest.case import TestCase
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove the unnecessary import of TestCase as the test case uses unittest.TestCase.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@umangagrawal-crest umangagrawal-crest changed the title added logger message and unittests TDL-14397-Add skipped log when first row is empty Dec 8, 2021
@prijendev prijendev merged commit 15def37 into TDL-15623-Crest-Master Dec 13, 2021
@prijendev prijendev mentioned this pull request Dec 13, 2021
KrisPersonal pushed a commit that referenced this pull request Dec 13, 2021
* type of emailaddress corrected (#53)

* Tdl 16079 check best practices (#51)

* Initial commit for best practice update

* updated setup.py and start_date test

* Updated test cases

* Updated start_date test case

* Updated start_date test case

* Updated comment

* Revert back test case changes

* Added new line

* Tdl 14376 pagination failure (#50)

* Initial commit for pagination failer

* Fixed pagination test cases

* Added comments

* Added detail comment into the code

* Removed unnecessary comment

* Removed unnecessary assertion

* Removed extra comment

* added comment for bug (#49)

* TDL-14475 added unsupported feature and unittests (#47)

* added unsupported feature and unittests

* added code comments

* fixed indent

* fixed indentation

* resolved a bug of writing md when 2 consecutive empty headers

* updated the logic for consecutive empty headers

* rsolved comments

* added test case for consecutive empty headers

* added comments

* resolved circleci errors

* resolved comments

Co-authored-by: namrata270998 <namrata.brahmbhatt@crestdatasystems.com>
Co-authored-by: prijendev <prijen.khokhani@crestdatasys.com>

* TDL-14397-Add skipped log when first row is empty (#46)

* added logger message and unittests

* added code comments

* changed the logger message and logic

* resolved comments

Co-authored-by: namrata270998 <namrata.brahmbhatt@crestdatasystems.com>
Co-authored-by: prijendev <prijen.khokhani@crestdatasys.com>

* TDL-16054 added code comments (#52)

* TDL-16054 added code comments

* rsolved comments

Co-authored-by: namrata270998 <namrata.brahmbhatt@crestdatasystems.com>
Co-authored-by: prijendev <prijen.khokhani@crestdatasys.com>

* Tdl 16280 implement request timeout (#54)

* TDL-16280 added request timeout

* TDL-16280: Added factor 3 to add more wait time between 2 calls

* TDL-16280: Updated Connection error as it wasn't defined.

* added backoff for access token

* updated readme

* updated request timeout and added jitter

* added comment for jitter

* added code coverage

* added testcase for connection error

* addd request timeout in config example

* updated the json example

* removed the client initialization outside with

Co-authored-by: dbshah1212 <dhruvin.shah@crestdatasys.com>
Co-authored-by: prijendev <prijen.khokhani@crestdatasys.com>

Co-authored-by: namrata270998 <75604662+namrata270998@users.noreply.github.com>
Co-authored-by: namrata270998 <namrata.brahmbhatt@crestdatasystems.com>
Co-authored-by: dbshah1212 <dhruvin.shah@crestdatasys.com>
@namrata270998 namrata270998 deleted the TDL-14397-skipped-sheet-log-when-empty branch June 2, 2022 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants