From 2a12177f745b80fcc789f4ff7a1f2698ccce1190 Mon Sep 17 00:00:00 2001 From: Fred Date: Tue, 22 Jun 2021 19:20:35 +0200 Subject: [PATCH] Remove pytest old tests --- src/location/tests_models.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/location/tests_models.py diff --git a/src/location/tests_models.py b/src/location/tests_models.py deleted file mode 100644 index 1c93626..0000000 --- a/src/location/tests_models.py +++ /dev/null @@ -1,22 +0,0 @@ -# coding=UTF-8 - -from .models import ( - Club, - Place, - Country -) -import pytest - -# class GymnastTestCase(): -def test_country_tostring(): - c = Country(namefr="Belgique", iso2="56") - assert str(c) == "Belgique (56)" - -def test_place_tostring(): - p = Place(name="FATC", city="Lillois") - assert str(p) == "FATC (Lillois)" - -def test_club_tostring(): - p = Place(name="FATC", city="Lillois") - club = Club(place=p, name="FATC2") - assert str(club) == "FATC2 (à Lillois)" \ No newline at end of file