-
Notifications
You must be signed in to change notification settings - Fork 871
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
Deprecate PymatgenTest
, migrate pymatgen
tests to pytest
from unittest
#4212
Open
DanielYang59
wants to merge
33
commits into
materialsproject:master
Choose a base branch
from
DanielYang59:real-real-real-migrate-pmg-tests-to-pytest
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
08aebc1
revert for a separate migration PR
DanielYang59 21a36f5
Revert "revert for a separate migration PR"
DanielYang59 8bacdbc
remove hard-coded and failing test
DanielYang59 344a872
batch remove PymatgenTest inheritance and see what fail
DanielYang59 ab8bb0e
migrate alchemy and command_line
DanielYang59 9ed871d
deprecate pymatgen with matscitest
DanielYang59 2666983
migrate utils
DanielYang59 21123bd
migrate optimization
DanielYang59 614f4f7
migrate vis
DanielYang59 a2ea374
global replacement of setUp and TearDown, setupClass
DanielYang59 6f2bfe9
revert all changes to before global replace PymatgenTest
DanielYang59 9d33460
deprecate pymatgen with matscitest
DanielYang59 be187d0
global replace setUp with setup_method
DanielYang59 7366ec7
replace tearDown
DanielYang59 3239fd5
replace setUpClass(cls) with setup_class(cls)
DanielYang59 4429546
global remove inheritance from TestCase
DanielYang59 98f7fc7
global replace inheritance from PymatgenTest
DanielYang59 dfb616c
global replace PymatgenTest import
DanielYang59 9ae0deb
global replace get_structure
DanielYang59 42f9fb6
global replace PymatgenTest with MatSciTest
DanielYang59 96ccce4
fix tests
DanielYang59 631ef93
fix internal index and add require for pytest style
DanielYang59 5c89fc0
fix test
DanielYang59 e4ac465
remove seemingly unused conftest
DanielYang59 4292f38
add deprecated decorator and enhance docstring
DanielYang59 027f84b
inherit to reduce code duplicate
DanielYang59 73328d0
add some test for legacy tester
DanielYang59 ebd48ce
also check future warning
DanielYang59 f6bda1e
remove unnecessary chdir
DanielYang59 58dc537
prep for merge
DanielYang59 ec33a39
Merge branch 'master' into real-real-real-migrate-pmg-tests-to-pytest
DanielYang59 def9886
fix bad merge behaviour
DanielYang59 881e092
Merge remote-tracking branch 'upstream/master' into real-real-real-mi…
DanielYang59 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might remove this test as it is hard-coded to check the content of a non-existent file:
pymatgen/tests/command_line/test_gulp_caller.py
Lines 139 to 142 in 31f1e1f