remove unused variable
This commit is contained in:
parent
5c9c5f6ebc
commit
a3f8a15c37
@ -990,12 +990,12 @@ def test_deckDue():
|
|||||||
# add one more with a new deck
|
# add one more with a new deck
|
||||||
note = col.newNote()
|
note = col.newNote()
|
||||||
note["Front"] = "two"
|
note["Front"] = "two"
|
||||||
foobar = note.model()["did"] = col.decks.id("foo::bar")
|
note.model()["did"] = col.decks.id("foo::bar")
|
||||||
col.addNote(note)
|
col.addNote(note)
|
||||||
# and one that's a sibling
|
# and one that's a sibling
|
||||||
note = col.newNote()
|
note = col.newNote()
|
||||||
note["Front"] = "three"
|
note["Front"] = "three"
|
||||||
foobaz = note.model()["did"] = col.decks.id("foo::baz")
|
note.model()["did"] = col.decks.id("foo::baz")
|
||||||
col.addNote(note)
|
col.addNote(note)
|
||||||
col.reset()
|
col.reset()
|
||||||
assert len(col.decks.all_names_and_ids()) == 5
|
assert len(col.decks.all_names_and_ids()) == 5
|
||||||
@ -1026,7 +1026,7 @@ def test_deckFlow():
|
|||||||
# and one that's a child
|
# and one that's a child
|
||||||
note = col.newNote()
|
note = col.newNote()
|
||||||
note["Front"] = "two"
|
note["Front"] = "two"
|
||||||
default1 = note.model()["did"] = col.decks.id("Default::2")
|
note.model()["did"] = col.decks.id("Default::2")
|
||||||
col.addNote(note)
|
col.addNote(note)
|
||||||
# and another that's higher up
|
# and another that's higher up
|
||||||
note = col.newNote()
|
note = col.newNote()
|
||||||
|
@ -1017,12 +1017,12 @@ def test_deckDue():
|
|||||||
# add one more with a new deck
|
# add one more with a new deck
|
||||||
note = col.newNote()
|
note = col.newNote()
|
||||||
note["Front"] = "two"
|
note["Front"] = "two"
|
||||||
foobar = note.model()["did"] = col.decks.id("foo::bar")
|
note.model()["did"] = col.decks.id("foo::bar")
|
||||||
col.addNote(note)
|
col.addNote(note)
|
||||||
# and one that's a sibling
|
# and one that's a sibling
|
||||||
note = col.newNote()
|
note = col.newNote()
|
||||||
note["Front"] = "three"
|
note["Front"] = "three"
|
||||||
foobaz = note.model()["did"] = col.decks.id("foo::baz")
|
note.model()["did"] = col.decks.id("foo::baz")
|
||||||
col.addNote(note)
|
col.addNote(note)
|
||||||
col.reset()
|
col.reset()
|
||||||
assert len(col.decks.all_names_and_ids()) == 5
|
assert len(col.decks.all_names_and_ids()) == 5
|
||||||
@ -1063,7 +1063,7 @@ def test_deckFlow():
|
|||||||
# and one that's a child
|
# and one that's a child
|
||||||
note = col.newNote()
|
note = col.newNote()
|
||||||
note["Front"] = "two"
|
note["Front"] = "two"
|
||||||
default1 = note.model()["did"] = col.decks.id("Default::2")
|
note.model()["did"] = col.decks.id("Default::2")
|
||||||
col.addNote(note)
|
col.addNote(note)
|
||||||
# and another that's higher up
|
# and another that's higher up
|
||||||
note = col.newNote()
|
note = col.newNote()
|
||||||
|
Loading…
Reference in New Issue
Block a user