Skip to content

Commit

Permalink
update test to use name paperclip instead of attached
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier authored and sssoleileraaa committed Aug 13, 2019
1 parent 3fddb39 commit 68c264a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gui/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,12 +700,12 @@ def test_SourceWidget_update_attachment_icon():
sw = SourceWidget(source)

sw.update()
assert not sw.attached.isHidden()
assert not sw.paperclip.isHidden()

source.document_count = 0

sw.update()
assert sw.attached.isHidden()
assert sw.paperclip.isHidden()


def test_SourceWidget_delete_source(mocker, session, source):
Expand Down

0 comments on commit 68c264a

Please sign in to comment.