From 3b2503a7d5abb03e99437d075eda31e16896a4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BAnar=20Berg=20Baugsson=20Sigr=C3=AD=C3=B0arson?= Date: Fri, 14 Feb 2014 21:42:03 +0000 Subject: [PATCH] Revert "Make tests for #1261" This reverts commit 54753708706bfbde1bfbfb95b0d6c82c70c436a5. --- pelican/tests/content/article_with_attributes.html | 12 ------------ pelican/tests/test_readers.py | 12 ------------ 2 files changed, 24 deletions(-) delete mode 100644 pelican/tests/content/article_with_attributes.html diff --git a/pelican/tests/content/article_with_attributes.html b/pelican/tests/content/article_with_attributes.html deleted file mode 100644 index 3025c811..00000000 --- a/pelican/tests/content/article_with_attributes.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - -
- Both double quoted attribute values should - be supported. - As well as single quoted, so they can accept some - JSON data-attributes -
- - diff --git a/pelican/tests/test_readers.py b/pelican/tests/test_readers.py index d238f50c..e827ed3b 100644 --- a/pelican/tests/test_readers.py +++ b/pelican/tests/test_readers.py @@ -374,18 +374,6 @@ class HTMLReaderTest(ReaderTest): for key, value in expected.items(): self.assertEqual(value, page.metadata[key], key) - def test_article_with_attributes(self): - page = self.read_file(path='article_with_attributes.html') - - self.assertEqual(''' -
- Both double quoted attribute values should - be supported. - As well as single quoted, so they can accept some - JSON data-attributes -
- ''', page.content) - def test_article_with_null_attributes(self): page = self.read_file(path='article_with_null_attributes.html')