Skip to content

FEAT: Update private app data creation and add tests - #986

Merged
dipinknair merged 14 commits into
mainfrom
feat/add-test-uniqueuserprofile
Nov 20, 2024
Merged

FEAT: Update private app data creation and add tests#986
dipinknair merged 14 commits into
mainfrom
feat/add-test-uniqueuserprofile

Conversation

@dipinknair

@dipinknair dipinknair commented Nov 20, 2024

Copy link
Copy Markdown
Contributor
  • Update private app data creation to have copy_profile option
    eg: App(private_appdata=True, copy_profile=False)
  • Move appdata tests to new file and add tests for UniqueUserProfile creation,
    ~45% increase in coverage

@github-actions github-actions Bot added the enhancement New features or code improvements label Nov 20, 2024
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 20, 2024
@dipinknair dipinknair changed the title FEAT: Add test for private app data creation FEAT: Update private app data creation and add tests Nov 20, 2024
@codecov

codecov Bot commented Nov 20, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 83.47%. Comparing base (cb0043b) to head (51b810e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #986      +/-   ##
==========================================
- Coverage   86.87%   83.47%   -3.40%     
==========================================
  Files          35       35              
  Lines        2255     2257       +2     
==========================================
- Hits         1959     1884      -75     
- Misses        296      373      +77     
---- 🚨 Try these New Features:

@dipinknair
dipinknair marked this pull request as ready for review November 20, 2024 03:08
@dipinknair
dipinknair requested a review from a team as a code owner November 20, 2024 03:08

@klmcadams klmcadams left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overall, this looks good! I suggested to use pathlib.Path over os since the pathlib library is the new standard and added a couple docstrings to the test functions

Comment thread tests/embedding/test_appdata.py Outdated
Comment thread tests/embedding/test_appdata.py Outdated
Comment thread tests/embedding/test_appdata.py
Comment thread tests/embedding/test_appdata.py Outdated
Comment thread tests/embedding/test_appdata.py Outdated
Comment thread tests/embedding/test_appdata.py Outdated
Comment thread tests/embedding/test_appdata.py Outdated
Comment thread tests/embedding/test_appdata.py
Comment thread tests/embedding/test_appdata.py
Comment thread tests/embedding/test_appdata.py
@dipinknair
dipinknair requested a review from klmcadams November 20, 2024 19:42
@dipinknair
dipinknair merged commit af612b6 into main Nov 20, 2024
@dipinknair
dipinknair deleted the feat/add-test-uniqueuserprofile branch November 20, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New features or code improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants