Skip to content

Conversation

@jacalata
Copy link
Contributor

@jacalata jacalata commented Jun 7, 2024

Add test assets
Add checks in testing to fail faster for some recognized issues
Add 'skip-connection' attribute so we can run against local server, and found that it needed to handle the Default project for publishing.

jacalata added 2 commits June 7, 2024 13:48
- add skip-connection-check so it can run against local server
- fix bug revealed where it was confused by the Default server

add content in the tests\assets dir, update gitignore

more test robustness

- fix asset names to go with assets in repo
- fail fast if publishing fails (because all the following tests will also fail)
- fail cleanly if you forget to enter any command
@jacalata jacalata requested a review from bcantoni June 7, 2024 20:51
@github-actions
Copy link

github-actions bot commented Jun 7, 2024

Coverage

Coverage Report
FileStmtsMissCoverMissing
tabcmd
   __main__.py777 0%
   tabcmd.py141414 0%
   version.py633 50%
tabcmd/commands
   commands.py101010 0%
   constants.py731313 82%
   server.py1262626 79%
tabcmd/commands/auth
   session.py3604242 88%
tabcmd/commands/datasources_and_workbooks
   datasources_and_workbooks_command.py1171313 89%
   delete_command.py601616 73%
   export_command.py1282828 78%
   get_url_command.py1896161 68%
   publish_command.py822424 71%
   runschedule_command.py2177 67%
tabcmd/commands/extracts
   create_extracts_command.py4288 81%
   decrypt_extracts_command.py2722 93%
   delete_extracts_command.py3766 84%
   encrypt_extracts_command.py2722 93%
   extracts.py2022 90%
   reencrypt_extracts_command.py2722 93%
   refresh_extracts_command.py481313 73%
tabcmd/commands/group
   create_group_command.py2955 83%
   delete_group_command.py2722 93%
tabcmd/commands/project
   create_project_command.py4688 83%
   delete_project_command.py3544 89%
   publish_samples_command.py2844 86%
tabcmd/commands/site
   create_site_command.py3455 85%
   delete_site_command.py2822 93%
   edit_site_command.py3822 95%
   list_command.py441010 77%
   list_sites_command.py3022 93%
tabcmd/commands/user
   create_site_users.py571010 82%
   create_users_command.py601010 83%
   delete_site_users_command.py4355 88%
   user_data.py2203030 86%
tabcmd/execution
   _version.py222 0%
   global_options.py1452424 83%
   localize.py6788 88%
   logger_config.py4266 86%
   tabcmd_controller.py3855 87%
TOTAL261144383% 

jacalata added 2 commits June 7, 2024 14:01
Makes it easier to notice you have a different version installed
@bcantoni bcantoni merged commit 4c5186d into development Jun 7, 2024
@jacalata jacalata deleted the jac/test-assets branch January 3, 2025 04:31
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.

3 participants