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:
wordofglass 2017-08-22 23:17:39 +02:00
parent 7d4627bb8f
commit 18c82cab5f

View file

@ -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')