Skip to content

Commit

Permalink
Update tests v2
Browse files Browse the repository at this point in the history
  • Loading branch information
elParaguayo committed Jun 29, 2024
1 parent 45f6763 commit 14f587e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/widget/test_strava.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import libqtile.confreader
import libqtile.layout
import pytest
from pint import Unit
from stravalib.model import Activity

from qtile_extras.widget.strava import StravaWidget
Expand All @@ -35,15 +34,15 @@
Activity(
name="Test Activity 1",
start_date_local=datetime(2021, 11, 20, 9, 0),
distance=Unit("m") * 10000,
distance=10000,
elapsed_time=45 * 60,
moving_time=45 * 60,
sport_type="Run",
),
Activity(
name="Test Activity 2",
start_date_local=datetime(2021, 11, 21, 7, 10),
distance=Unit("m") * 21100,
distance=21100,
elapsed_time=105 * 60,
moving_time=105 * 60,
sport_type="Run",
Expand Down

0 comments on commit 14f587e

Please sign in to comment.