Skip to content
Snippets Groups Projects
Commit 4112ecbe authored by Edward Fauchon-Jones's avatar Edward Fauchon-Jones
Browse files

Fix formats license field and tests LSC->LVC

parent fb209457
No related branches found
No related tags found
No related merge requests found
......@@ -206,7 +206,7 @@ class License(Spec):
"""Specification for the `Format` field"""
name = 'license'
dtype = basestring
values = ['LSC-internal', 'public']
values = ['LVC-internal', 'public']
class Lmax(Spec):
......
......@@ -31,7 +31,7 @@ templateOutput = """# Format 1
- [=] modification-date (1.0)
- [=] point-of-contact-email (1.0)
- [=] INSPIRE-bibtex-keys (1.0)
- [=] license (LSC-internal)
- [=] license (LVC-internal)
- [=] simulation-type (aligned-spins)
- [=] auxiliary-info (<class 'h5py._hl.group.Group'>)
- [=] NR-techniques (1.0)
......@@ -363,7 +363,7 @@ class TestInvalidLicense(TestField):
self.setValue('invalid')
self.setOutput(
('- [INVALID VALUE] license (invalid) '
'(Value must be one of LSC-internal, public)'))
'(Value must be one of LVC-internal, public)'))
output = helper.lvcnrcheck(['-f', '3', self.f.name])
assert output.strip() == self.output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment