Issue #231: Failing unittest: TestFileType.test_xml (blais/beancount)

4 views
Skip to first unread message

Michael Droogleever

unread,
Mar 11, 2018, 11:59:01 AM3/11/18
to bean...@googlegroups.com
New issue 231: Failing unittest: TestFileType.test_xml
https://bitbucket.org/blais/beancount/issues/231/failing-unittest-testfiletypetest_xml

Michael Droogleever:

```
#!python
=================================== FAILURES ===================================
____________________________ TestFileType.test_xml _____________________________

self = <beancount.utils.file_type_test.TestFileType testMethod=test_xml>

def test_xml(self):
> self.check_mime_type('example.xml', 'application/xml')

file_type_test.py:66:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
file_type_test.py:19: in check_mime_type
self.assertIn(mime_type, expected_mime_types)
E AssertionError: 'text/xml' not found in ['application/xml']
================ 1 failed, 91 passed, 1 skipped in 0.48 seconds ================
```


Reply all
Reply to author
Forward
0 new messages