remove unused variable

This commit is contained in:
Arthur Milchior 2020-07-20 10:16:39 +02:00
parent 5c9c5f6ebc
commit a3f8a15c37
2 changed files with 6 additions and 6 deletions

View File

@ -990,12 +990,12 @@ def test_deckDue():
# add one more with a new deck
note = col.newNote()
note["Front"] = "two"
foobar = note.model()["did"] = col.decks.id("foo::bar")
note.model()["did"] = col.decks.id("foo::bar")
col.addNote(note)
# and one that's a sibling
note = col.newNote()
note["Front"] = "three"
foobaz = note.model()["did"] = col.decks.id("foo::baz")
note.model()["did"] = col.decks.id("foo::baz")
col.addNote(note)
col.reset()
assert len(col.decks.all_names_and_ids()) == 5
@ -1026,7 +1026,7 @@ def test_deckFlow():
# and one that's a child
note = col.newNote()
note["Front"] = "two"
default1 = note.model()["did"] = col.decks.id("Default::2")
note.model()["did"] = col.decks.id("Default::2")
col.addNote(note)
# and another that's higher up
note = col.newNote()

View File

@ -1017,12 +1017,12 @@ def test_deckDue():
# add one more with a new deck
note = col.newNote()
note["Front"] = "two"
foobar = note.model()["did"] = col.decks.id("foo::bar")
note.model()["did"] = col.decks.id("foo::bar")
col.addNote(note)
# and one that's a sibling
note = col.newNote()
note["Front"] = "three"
foobaz = note.model()["did"] = col.decks.id("foo::baz")
note.model()["did"] = col.decks.id("foo::baz")
col.addNote(note)
col.reset()
assert len(col.decks.all_names_and_ids()) == 5
@ -1063,7 +1063,7 @@ def test_deckFlow():
# and one that's a child
note = col.newNote()
note["Front"] = "two"
default1 = note.model()["did"] = col.decks.id("Default::2")
note.model()["did"] = col.decks.id("Default::2")
col.addNote(note)
# and another that's higher up
note = col.newNote()