diff --git a/rowers/c2stuff.py b/rowers/c2stuff.py index 71032545..496cc8d7 100644 --- a/rowers/c2stuff.py +++ b/rowers/c2stuff.py @@ -612,7 +612,7 @@ def createc2workoutdata(w): itime, idist, itype = row.intervalstats_values() try: lapnames = row.df[' lapIdx'].unique() - except KeyError: + except KeyError: # pragma: no cover lapnames = range(len(itime)) nrintervals = len(itime) if len(lapnames) != nrintervals: diff --git a/rowers/runkeeperstuff.py b/rowers/runkeeperstuff.py index 0f588cb4..cc3b6998 100644 --- a/rowers/runkeeperstuff.py +++ b/rowers/runkeeperstuff.py @@ -129,7 +129,7 @@ def createrunkeeperworkoutdata(w): try: averagehr = int(row.df[' HRCur (bpm)'].mean()) maxhr = int(row.df[' HRCur (bpm)'].max()) - except KeyError: + except KeyError: # pragma: no cover averagehr = 0 maxhr = 0 diff --git a/rowers/templates/rower_exportsettings.html b/rowers/templates/rower_exportsettings.html index d817cf9b..79332c87 100644 --- a/rowers/templates/rower_exportsettings.html +++ b/rowers/templates/rower_exportsettings.html @@ -74,7 +74,7 @@ choice or to renew the authorization.

connect with strava

connect with Concept2

-

connect with NK Logbook

+

connect with NK Logbook

connect with SportTracks

connect with RunKeeper

connect with Under Armour

diff --git a/rowers/tests/statements.py b/rowers/tests/statements.py index dd866c83..fcdcac19 100644 --- a/rowers/tests/statements.py +++ b/rowers/tests/statements.py @@ -15,10 +15,12 @@ except NameError: import pytest +from pandas.core.common import SettingWithCopyWarning + import warnings -#warnings.filterwarnings("error", -# category=DeprecationWarning -# ) +warnings.filterwarnings("error", + category=SettingWithCopyWarning + ) pytestmark = pytest.mark.django_db diff --git a/static/img/NKLiNKLogbook.png b/static/img/NKLiNKLogbook.png new file mode 100644 index 00000000..88f43679 Binary files /dev/null and b/static/img/NKLiNKLogbook.png differ