diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2019-02-09 20:38:19 +0100 |
---|---|---|
committer | Jelle van der Waa <jelle@archlinux.org> | 2019-02-18 16:42:51 +0100 |
commit | b4552b9c15cfefdb135a11f119420d6d9badd673 (patch) | |
tree | e021fcee83c16b9994e3591f9f3cb97c1d214ab5 /packages | |
parent | 3daade6aea2ae79703ffdfdaea0e14e5c58d6a72 (diff) | |
download | archweb-b4552b9c15cfefdb135a11f119420d6d9badd673.tar.gz archweb-b4552b9c15cfefdb135a11f119420d6d9badd673.zip |
flag: move inline css to a separate file
CSP dissalows inline CSS styles so move the CSS to a separate file.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/tests.py b/packages/tests.py index fecf27b6..30185081 100644 --- a/packages/tests.py +++ b/packages/tests.py @@ -307,6 +307,10 @@ class FlagPackage(TestCase): self.assertIn('Enter a valid and useful out-of-date message', response.content.decode()) self.assertEqual(len(mail.outbox), 0) + def test_flag_help(self): + response = self.client.get('/packages/flaghelp/') + self.assertEqual(response.status_code, 200) + class UnFlagPackage(TransactionTestCase): fixtures = ['main/fixtures/arches.json', 'main/fixtures/repos.json', |