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

upf to json converter #3308

Merged
merged 5 commits into from
Oct 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion aiida/backends/tests/cmdline/commands/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ def setUp(self):
def upload_family(self):
options = [self.filepath_pseudos, 'test_group', 'test description']
res = self.cli_runner.invoke(cmd_upf.upf_uploadfamily, options, catch_exceptions=False)
self.assertIn(b'UPF files found: 3', res.stdout_bytes, 'The string "UPF files found: 3" was not found in the'
self.assertIn(b'UPF files found: 4', res.stdout_bytes, 'The string "UPF files found: 4" was not found in the'
' output of verdi data upf uploadfamily')

def test_uploadfamilyhelp(self):
Expand Down Expand Up @@ -893,6 +893,9 @@ def test_exportfamily(self):
'Sub-command verdi data upf exportfamily --help failed.')
self.assertIn(b'Ti.pbesol-spn-rrkjus_psl.0.2.3-tot-pslib030.UPF', output,
'Sub-command verdi data upf exportfamily --help failed.')
self.assertIn(b'C_pbe_v1.2.uspp.F.UPF', output,
'Sub-command verdi data upf exportfamily --help failed.')


def test_listfamilieshelp(self):
output = sp.check_output(['verdi', 'data', 'upf', 'listfamilies', '--help'])
Expand Down
1 change: 1 addition & 0 deletions aiida/backends/tests/fixtures/pseudos/Ba.json

Large diffs are not rendered by default.

Loading