Skip to content

Commit 4f29dcc

Browse files
Update import order
1 parent 1387e4c commit 4f29dcc

11 files changed

+23
-16
lines changed

tests/test_bug.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
"""
22
This test is for bug testing
33
"""
4-
import unittest
5-
64
import os
75
os.environ['DEVELOPMENT'] = 'True'
6+
import unittest
87

98
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent, GroundWater
109
from aquacrop.utils import prepare_weather, get_filepath

tests/test_co2_timeseries.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
"""
22
Test exeptions in the model.
33
"""
4-
import unittest
5-
import pandas as pd
64
import os
75
os.environ['DEVELOPMENT'] = 'True'
6+
import unittest
7+
import pandas as pd
8+
89

910
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent, GroundWater, CO2
1011
from aquacrop.utils import prepare_weather, get_filepath

tests/test_groundwater_table.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"""
22
Test exeptions in the model.
33
"""
4-
import unittest
54
import os
65
os.environ['DEVELOPMENT'] = 'True'
6+
import unittest
7+
78

89
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent, GroundWater
910
from aquacrop.utils import prepare_weather, get_filepath

tests/test_irrigation.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
"""
22
Test file for irrigation
33
"""
4-
import unittest
5-
import pandas as pd
6-
74
import os
85
os.environ['DEVELOPMENT'] = 'True'
6+
import unittest
7+
import pandas as pd
98

109
from aquacrop import (
1110
AquaCropModel,

tests/test_model_exceptions.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"""
22
Test exeptions in the model.
33
"""
4-
import unittest
54
import os
65
os.environ['DEVELOPMENT'] = 'True'
6+
import unittest
7+
78

89
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent
910
from aquacrop.utils import prepare_weather, get_filepath

tests/test_model_not_running.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import unittest
21
import os
32
os.environ['DEVELOPMENT'] = 'True'
3+
import unittest
4+
45

56
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent
67
from aquacrop.utils import prepare_weather, get_filepath

tests/test_model_step_finished.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import unittest
21
import os
32
os.environ['DEVELOPMENT'] = 'True'
3+
import unittest
4+
45

56
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent
67
from aquacrop.utils import prepare_weather, get_filepath

tests/test_model_step_less_than_1.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import unittest
21
import os
32
os.environ['DEVELOPMENT'] = 'True'
3+
import unittest
4+
45

56
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent
67
from aquacrop.utils import prepare_weather, get_filepath

tests/test_model_step_not_finished.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import unittest
21
import os
32
os.environ['DEVELOPMENT'] = 'True'
3+
import unittest
4+
45

56
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent
67
from aquacrop.utils import prepare_weather, get_filepath

tests/test_model_till_termination.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import unittest
21
import os
32
os.environ['DEVELOPMENT'] = 'True'
3+
import unittest
4+
45

56
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent
67
from aquacrop.utils import prepare_weather, get_filepath

tests/test_speed.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import unittest
2-
import time
31
import os
42
os.environ['DEVELOPMENT'] = 'True'
3+
import unittest
4+
import time
5+
56

67
from aquacrop import AquaCropModel, Soil, Crop, InitialWaterContent
78
from aquacrop.utils import prepare_weather, get_filepath

0 commit comments

Comments
 (0)