Skip to content

small fixes to tests#749

Merged
Zhuoying merged 1 commit intohackingmaterials:mainfrom
jmmshn:test_patch_js
Mar 3, 2022
Merged

small fixes to tests#749
Zhuoying merged 1 commit intohackingmaterials:mainfrom
jmmshn:test_patch_js

Conversation

@jmmshn
Copy link
Contributor

@jmmshn jmmshn commented Mar 1, 2022

Summary

  • fixed redundant code in insertion test
  • changed from boto3.client to boto3.resources to better match what maggma does. Also I was failing tests because it seems like the AWS API no longer liked me using boto3.client.create_bucket in the way this was originally written.
  • Install attempts produced an error saying that have to choose a different scipy version (Ubuntu with python 3.9 and 3.10) so I bumped it to the nearest > version.
  • Not super sure about the last one: but since we have turned off qchem tests on the GitHub workflows should we turn it off in setup.cfg as well? It took a long time for me to figure out why all my tests were failing.

@Zhuoying
Copy link
Collaborator

Zhuoying commented Mar 3, 2022

Hi, @jmmshn Thanks for this PR. I will merge it for now. If there is an issue later, pls feel free to let us know.

BTW: The failed pytest actually was fixed already (#747). It would be great if you could git pull first before git push to avoid this for the next time. Please bear my OCD for all green tests.😂

@Zhuoying Zhuoying merged commit d6c1aed into hackingmaterials:main Mar 3, 2022
@jmmshn jmmshn deleted the test_patch_js branch March 4, 2022 17: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.

2 participants