aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-02-18 21:04:18 +0100
committerGravatar Johannes Christ <[email protected]>2019-02-18 21:04:18 +0100
commitf130e9e654185d99a7eebc1982623f41689ae176 (patch)
tree112537fdd2bf22c9b8ff52e8ec357a78ff654236
parentAdd unit test for the new validator. (diff)
Add `# pragma: no cover` to downwards migration.
-rw-r--r--api/migrations/0033_create_defcon_settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/migrations/0033_create_defcon_settings.py b/api/migrations/0033_create_defcon_settings.py
index 204f0512..830f3fb0 100644
--- a/api/migrations/0033_create_defcon_settings.py
+++ b/api/migrations/0033_create_defcon_settings.py
@@ -14,7 +14,7 @@ def up(apps, schema_editor):
).save()
-def down(apps, schema_editor):
+def down(apps, schema_editor): # pragma: no cover - not necessary to test
BotSetting = apps.get_model('api', 'BotSetting')
BotSetting.get(name='defcon').delete()