Commit 7411dc04 authored by Martin Claus's avatar Martin Claus

Added first tests

parent fece4657
"""Test paring of namelists to dictionary."""
import pytest
from context import namelist
["&nml &end",
"&nml /", "&nml/",
def test_parse_string(string):
nml = namelist.parse_namelist_string(string)[0]
assert == "nml"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment