File: test_loader.py

package info (click to toggle)
python-django-etcd-settings 0.1.13%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 320 kB
  • sloc: python: 925; makefile: 210
file content (10 lines) | stat: -rw-r--r-- 305 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
from django.test import TestCase
from etcd_settings.loader import get_overwrites


class TestLoader(TestCase):

    def test_get_overwrites_without_etcd(self):
        overwrites = get_overwrites(
            'unittest', 'tests.loader_dev_params', None)
        self.assertEqual('bar', overwrites['FOO'])