test_web.py 306 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
#!/usr/bin/env python
"""Test for web.py
"""
from os.path import isfile
import datetime as dt
from swmfpy.web import *

TIME = dt.datetime(2016, 2, 3, 2, 1, 1)


def test_download_magnetogram_adapt():
    download_magnetogram_adapt(TIME)
    assert isfile('adapt40311_03k012_201602030200_i00015600n1.fts')