test_swmfpy.py 273 Bytes
Newer Older
Qusai Al Shidi's avatar
CI  
Qusai Al Shidi committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python
"""Tests for web.py
"""
import datetime as dt
from os.path import isfile
from swmfpy import *

TIMES = (dt.datetime(2012, 12, 1), dt.datetime(2013, 1, 1))


def test_write_imf_from_omni():
    write_imf_from_omni(*TIMES)
    assert isfile('IMF.dat')