mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 01:53:31 +01:00
test_edit: Add a comment explaining why I didn't change the writing behaviour
I was midway through writing a test when realizing that it's best the way it is...
This commit is contained in:
parent
7d4627bb8f
commit
18c82cab5f
1 changed files with 3 additions and 0 deletions
|
|
@ -217,6 +217,9 @@ class EditCommandTest(unittest.TestCase, TestHelper, EditMixin):
|
|||
['a'])
|
||||
|
||||
self.assertEqual(self.lib.items(u'id:1')[0].foo, 'bar')
|
||||
# Even though a flexible attribute was written (which is not directly
|
||||
# written to the tags), write should still be called since templates
|
||||
# might use it.
|
||||
self.assertCounts(mock_write, write_call_count=1,
|
||||
title_starts_with=u't\u00eftle')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue