Skip to content

Commit 56dafe1

Browse files
committed
Added pytest.skip back for all tests
1 parent c05e9b3 commit 56dafe1

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

tests/test_wave_01.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from app.db import db
33
import pytest
44

5-
# @pytest.mark.skip(reason="No way to test this feature yet")
5+
@pytest.mark.skip(reason="No way to test this feature yet")
66
def test_task_to_dict():
77
#Arrange
88
new_task = Task(id = 1, title="Make My Bed",
@@ -19,7 +19,7 @@ def test_task_to_dict():
1919
assert task_dict["description"] == "Start the day off right!"
2020
assert task_dict["is_complete"] == False
2121

22-
# @pytest.mark.skip(reason="No way to test this feature yet")
22+
@pytest.mark.skip(reason="No way to test this feature yet")
2323
def test_task_to_dict_missing_id():
2424
#Arrange
2525
new_task = Task(title="Make My Bed",
@@ -36,7 +36,7 @@ def test_task_to_dict_missing_id():
3636
assert task_dict["description"] == "Start the day off right!"
3737
assert task_dict["is_complete"] == False
3838

39-
# @pytest.mark.skip(reason="No way to test this feature yet")
39+
@pytest.mark.skip(reason="No way to test this feature yet")
4040
def test_task_to_dict_missing_title():
4141
#Arrange
4242
new_task = Task(id = 1,
@@ -53,7 +53,7 @@ def test_task_to_dict_missing_title():
5353
assert task_dict["description"] == "Start the day off right!"
5454
assert task_dict["is_complete"] == False
5555

56-
# @pytest.mark.skip(reason="No way to test this feature yet")
56+
@pytest.mark.skip(reason="No way to test this feature yet")
5757
def test_task_from_dict():
5858
#Arrange
5959
task_dict = {
@@ -70,7 +70,7 @@ def test_task_from_dict():
7070
assert task_obj.description == "Start the day off right!"
7171
assert task_obj.completed_at is None
7272

73-
# @pytest.mark.skip(reason="No way to test this feature yet")
73+
@pytest.mark.skip(reason="No way to test this feature yet")
7474
def test_task_from_dict_no_title():
7575
#Arrange
7676
task_dict = {
@@ -82,7 +82,7 @@ def test_task_from_dict_no_title():
8282
with pytest.raises(KeyError, match = 'title'):
8383
Task.from_dict(task_dict)
8484

85-
# @pytest.mark.skip(reason="No way to test this feature yet")
85+
@pytest.mark.skip(reason="No way to test this feature yet")
8686
def test_task_from_dict_no_description():
8787
#Arrange
8888
task_dict = {

tests/test_wave_05.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from app.models.goal import Goal
22
import pytest
33

4-
# @pytest.mark.skip(reason="No way to test this feature yet")
4+
@pytest.mark.skip(reason="No way to test this feature yet")
55
def test_goal_to_dict():
66
#Arrange
77
new_goal = Goal(id=1, title="Seize the Day!")
@@ -13,7 +13,7 @@ def test_goal_to_dict():
1313
assert goal_dict["id"] == 1
1414
assert goal_dict["title"] == "Seize the Day!"
1515

16-
# @pytest.mark.skip(reason="No way to test this feature yet")
16+
@pytest.mark.skip(reason="No way to test this feature yet")
1717
def test_goal_to_dict_no_id():
1818
#Arrange
1919
new_goal = Goal(title="Seize the Day!")
@@ -25,7 +25,7 @@ def test_goal_to_dict_no_id():
2525
assert goal_dict["id"] is None
2626
assert goal_dict["title"] == "Seize the Day!"
2727

28-
# @pytest.mark.skip(reason="No way to test this feature yet")
28+
@pytest.mark.skip(reason="No way to test this feature yet")
2929
def test_goal_to_dict_no_title():
3030
#Arrange
3131
new_goal = Goal(id=1)
@@ -39,7 +39,7 @@ def test_goal_to_dict_no_title():
3939

4040

4141

42-
# @pytest.mark.skip(reason="No way to test this feature yet")
42+
@pytest.mark.skip(reason="No way to test this feature yet")
4343
def test_goal_from_dict():
4444
#Arrange
4545
goal_dict = {
@@ -52,7 +52,7 @@ def test_goal_from_dict():
5252
#Assert
5353
assert goal_obj.title == "Seize the Day!"
5454

55-
# @pytest.mark.skip(reason="No way to test this feature yet")
55+
@pytest.mark.skip(reason="No way to test this feature yet")
5656
def test_goal_from_dict_no_title():
5757
#Arrange
5858
goal_dict = {

0 commit comments

Comments
 (0)