Add class user.
Showing
File added
app.py
0 → 100644
app_web/__init__.py
0 → 100644
File added
File added
app_web/models/User.py
0 → 100644
app_web/models/__init__.py
0 → 100644
File added
File added
app_web/tests/__init__.py
0 → 100644
File added
File added
app_web/tests/test_class.py
0 → 100644
from app_web.models.User import User | ||
def test_user(): | ||
user = User("skysky","[email protected]","0905619093") | ||
assert user.name == "skysky", "Error user name." | ||
assert user.email == "[email protected]", "Error user E-mail." | ||
assert user.phone == "0905619093", "Error user phone." | ||
\ No newline at end of file |
app_web/view.py
0 → 100644
main.py
deleted
100644 → 0
test_main.py
deleted
100644 → 0
Please register or sign in to comment