tests: fix atom feed to have xml declaration at first byte

This commit is contained in:
Frédéric Péters 2020-04-12 12:17:30 +02:00
parent dfa144bea8
commit 7891bfffc0
1 changed files with 1 additions and 2 deletions

View File

@ -16,8 +16,7 @@ pytestmark = pytest.mark.django_db
CATEGORIES = ('Alerts',)
ATOM_FEED = """
<?xml version="1.0" encoding="UTF-8"?>
ATOM_FEED = """<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<id>tag:linuxfr.org,2005:/news</id>
<title>Sample RSS Feeds</title>