blob: 273f98438afc7b46f63f1a67cfab01ab81ab4242 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import datetime
from ..api import project_data_from_master
def test_get_project_data(master):
master = project_data_from_master(master, 1, 2019)
assert master["Chutney Bridge.xlsm"]["Project/Programme Name"] == "Chutney Bridge Ltd"
assert master.quarter.quarter == 1
assert master.quarter.end_date == datetime.date(2019, 6, 30)
|