Skip to content
Snippets Groups Projects
Commit 95bee440 authored by mads's avatar mads
Browse files

renamed some files to have consistency

parent a75357e4
No related branches found
No related tags found
No related merge requests found
File moved
File moved
......@@ -7,7 +7,7 @@ import os
import unittest
from datetime import datetime
from wetb.hawc2.htcfile import HTCFile
from wetb.hawc2.htc_file import HTCFile
os.chdir(os.path.relpath(".", __file__))
......
......@@ -4,7 +4,7 @@ Created on 05/11/2015
@author: MMPE
'''
import unittest
from wetb.hawc2 import shearfile
from wetb.hawc2 import shear_file
import numpy as np
import os
testfilepath = 'test_files/'
......@@ -13,7 +13,7 @@ class Test(unittest.TestCase):
def test_shearfile(self):
f = testfilepath + "tmp_shearfile.dat"
shearfile.save(f, [-55, 55], [30, 100, 160] , u=np.array([[0.7, 1, 1.3], [0.7, 1, 1.3]]).T)
shear_file.save(f, [-55, 55], [30, 100, 160] , u=np.array([[0.7, 1, 1.3], [0.7, 1, 1.3]]).T)
with open(f) as fid:
self.assertEqual(fid.read(),
""" # autogenerated shear file
......
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