Skip to content

Commit

Permalink
Add value_at to day datas
Browse files Browse the repository at this point in the history
  • Loading branch information
juuso-j committed Oct 11, 2023
1 parent e200f84 commit 8a922b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eco_counter/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def day_datas(stations, days):
day_data = DayData.objects.create(station=stations[0], day=days[i])
day_data.value_ak = 5 + i
day_data.value_ap = 6 + i
day_data.value_at = day_data.value_ak + day_data.value_ap
day_data.save()
day_datas.append(day_data)
return day_datas
Expand Down

0 comments on commit 8a922b5

Please sign in to comment.