-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunit_test.txt
123 lines (103 loc) · 4.5 KB
/
unit_test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
INFO:root:
____________ CREATE APP TEST _________________
/Users/rebeccalilyverghese/ASL App/asl-app/venv/lib/python3.8/site-packages/flask_sqlalchemy/__init__.py:872: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
warnings.warn(FSADeprecationWarning(
INFO:root:
____________ ADD CARD TEST _________________
INFO:root:all_cards
INFO:root:[<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>]
.INFO:root:
____________ CREATE APP TEST _________________
INFO:root:
____________ CARD CONSTRUCTOR TEST _________________
.INFO:root:
____________ CREATE APP TEST _________________
INFO:root:
____________ CARD MEDIA TEST _________________
INFO:root:apple_card.media
INFO:root:[<Media 1>, <Media 2>]
.INFO:root:
____________ CREATE APP TEST _________________
INFO:root:
____________ CARD QUERY TEST _________________
INFO:root:last_id
INFO:root:5
INFO:root:todays_cards
INFO:root:deque([<Card 1>, <Card 4>, <Card 3>, <Card 2>, <Card 5>])
INFO:root:card dict values
INFO:root:dict_values([<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>])
.INFO:root:
____________ CREATE APP TEST _________________
.INFO:root:
____________ CREATE APP TEST _________________
INFO:root:
____________ TEST DECK CONSTRUCTOR TEST _________________
.INFO:root:
____________ CREATE APP TEST _________________
INFO:root:
____________DELETE CARDS FIRST TEST _________________
INFO:root:all_cards
INFO:root:[<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>]
INFO:root:remaining_cards
INFO:root:[]
INFO:root:decks after cards are deleted
INFO:root:[<Deck 1>]
INFO:root:remaining decks after decks are deleted
INFO:root:[]
INFO:root:media and history before deletion
INFO:root:[<Media 1>, <Media 2>, <Media 3>, <Media 4>, <Media 5>, <Media 6>, <Media 7>, <Media 8>, <Media 9>, <Media 10>, <Media 11>, <Media 12>]
INFO:root:[]
INFO:root:media and history after deletion
INFO:root:[]
INFO:root:[]
.INFO:root:
____________ CREATE APP TEST _________________
INFO:root:
____________DELETE DECKS FIRST TEST _________________
INFO:root:cards before
INFO:root:[<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>]
INFO:root:decks before deletion
INFO:root:[<Deck 1>]
INFO:root:decks after deletion
INFO:root:[]
INFO:root:cards before explicit deletion
INFO:root:[<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>]
INFO:root:cards after deletion
INFO:root:[]
INFO:root:media and history before explicit deletion
INFO:root:[<Media 1>, <Media 2>, <Media 3>, <Media 4>, <Media 5>, <Media 6>, <Media 7>, <Media 8>, <Media 9>, <Media 10>, <Media 11>, <Media 12>]
INFO:root:[]
INFO:root:media and history after deletion
INFO:root:[]
INFO:root:[]
.INFO:root:
____________ CREATE APP TEST _________________
INFO:root:
____________DELETION QUERIES TEST _________________
INFO:root:all_cards
INFO:root:[<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>]
INFO:root:remaining_cards after db.session.query(Card).delete()
INFO:root:[]
INFO:root:all_cards
INFO:root:[<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>]
INFO:root:remaining_cards after Card.query.delete()
INFO:root:[]
INFO:root:all_cards
INFO:root:[<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>]
INFO:root:media before deleting cards
INFO:root:[<Media 1>, <Media 2>, <Media 3>, <Media 4>, <Media 5>, <Media 6>, <Media 7>, <Media 8>, <Media 9>, <Media 10>, <Media 11>, <Media 12>, <Media 13>, <Media 14>, <Media 15>, <Media 16>, <Media 17>, <Media 18>, <Media 19>, <Media 20>, <Media 21>, <Media 22>, <Media 23>, <Media 24>, <Media 25>, <Media 26>, <Media 27>, <Media 28>, <Media 29>, <Media 30>, <Media 31>, <Media 32>, <Media 33>, <Media 34>, <Media 35>, <Media 36>]
INFO:root:third deletion completed
INFO:root:media after deleting cards
INFO:root:[<Media 1>, <Media 2>, <Media 3>, <Media 4>, <Media 5>, <Media 6>, <Media 7>, <Media 8>, <Media 9>, <Media 10>, <Media 11>, <Media 12>, <Media 13>, <Media 14>, <Media 15>, <Media 16>, <Media 17>, <Media 18>, <Media 19>, <Media 20>, <Media 21>, <Media 22>, <Media 23>, <Media 24>, <Media 25>, <Media 26>, <Media 27>, <Media 28>, <Media 29>, <Media 30>, <Media 31>, <Media 32>, <Media 33>, <Media 34>, <Media 35>, <Media 36>]
INFO:root:remaining_cards after db.session.delete(card) with for loop
INFO:root:[]
.INFO:root:
____________ CREATE APP TEST _________________
INFO:root:
____________ GET CARD TEST _________________
.
----------------------------------------------------------------------
Ran 10 tests in 43.946s
OK
todays_query
[<Card 1>, <Card 2>, <Card 3>, <Card 4>, <Card 5>]