Remove pytest old tests
This commit is contained in:
parent
1a392f4e42
commit
c8d543ab50
|
@ -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)"
|
|
Loading…
Reference in New Issue