File: conftest.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 (18 lines) | stat: -rw-r--r-- 379 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class TestSettings(object):

    ETCD_PREFIX = '/config/etcd_settings'
    ETCD_ENV = 'test'
    ETCD_HOST = 'etcd'
    ETCD_PORT = 2379
    ETCD_USERNAME = 'test'
    ETCD_PASSWORD = 'test'
    ETCD_DETAILS = dict(
        host='etcd',
        port=2379,
        prefix='/config/etcd_settings',
        username='test',
        password='test'
    )


settings = TestSettings()