Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dbf668a415 | ||
|
|
f6f2077cbc | ||
|
|
f51506dd27 | ||
|
|
3d246e66ba | ||
|
|
b691ebdf85 | ||
|
|
85d278294b | ||
|
|
e73a622b88 | ||
|
|
4e88485fa7 | ||
|
|
a46c5b2e78 | ||
|
|
a44dd7f016 | ||
|
|
1a72a9e7b6 |
@ -6,7 +6,5 @@ python:
|
|||||||
- "3.3"
|
- "3.3"
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
install:
|
install:
|
||||||
- "pip install ."
|
|
||||||
- "pip install -r requirements.txt"
|
- "pip install -r requirements.txt"
|
||||||
# command to run tests
|
|
||||||
script: nosetests
|
script: nosetests
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
This is example configuration for Stratum server.
|
This is example configuration for Stratum server.
|
||||||
Please rename it to config.py and fill correct values.
|
Please rename it to config.py and fill correct values.
|
||||||
'''
|
'''
|
||||||
|
CONFIG_VERSION = 0.1
|
||||||
# ******************** GENERAL SETTINGS ***************
|
# ******************** GENERAL SETTINGS ***************
|
||||||
|
|
||||||
# Enable some verbose debug (logging requests and responses).
|
# Enable some verbose debug (logging requests and responses).
|
||||||
|
|||||||
@ -1,16 +1,12 @@
|
|||||||
BeautifulSoup==3.2.1
|
|
||||||
Jinja2==2.7.2
|
Jinja2==2.7.2
|
||||||
Magic-file-extensions==0.2
|
|
||||||
MarkupSafe==0.18
|
MarkupSafe==0.18
|
||||||
MySQL-python==1.2.5
|
MySQL-python==1.2.5
|
||||||
PyYAML==3.10
|
PyYAML==3.10
|
||||||
Twisted==13.2.0
|
Twisted==13.2.0
|
||||||
ansible==1.4.5
|
ansible==1.4.5
|
||||||
argparse==1.2.1
|
|
||||||
autobahn==0.8.4-3
|
autobahn==0.8.4-3
|
||||||
cffi==0.8.2
|
cffi==0.8.2
|
||||||
cryptography==0.2.2
|
cryptography==0.2.2
|
||||||
defer==1.0.6
|
|
||||||
ecdsa==0.10
|
ecdsa==0.10
|
||||||
feedparser==5.1.3
|
feedparser==5.1.3
|
||||||
fpconst==0.7.2
|
fpconst==0.7.2
|
||||||
@ -31,3 +27,4 @@ simplejson==3.3.3
|
|||||||
six==1.4.1
|
six==1.4.1
|
||||||
wsgiref==0.1.2
|
wsgiref==0.1.2
|
||||||
zope.interface==4.1.0
|
zope.interface==4.1.0
|
||||||
|
|
||||||
|
|||||||
1
tests/__init__.py
Normal file
1
tests/__init__.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
||||||
6
tests/test_settings.py
Normal file
6
tests/test_settings.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import lib.settings as settings
|
||||||
|
|
||||||
|
def test_settings():
|
||||||
|
import lib.settings as settings
|
||||||
|
assert settings.CONFIG_VERSION == 0.1
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user