Compare commits

...

11 Commits

Author SHA1 Message Date
ahmedbodi
dbf668a415 Add Config Version 2014-04-20 15:31:42 +01:00
ahmedbodi
f6f2077cbc Create test_settings.py 2014-04-20 15:31:03 +01:00
ahmedbodi
f51506dd27 Create __init__.py 2014-04-20 15:26:23 +01:00
ahmedbodi
3d246e66ba Update requirements.txt 2014-04-20 15:25:51 +01:00
ahmedbodi
b691ebdf85 Update .travis.yml 2014-04-20 14:58:30 +01:00
ahmedbodi
85d278294b Update requirements.txt 2014-04-20 14:58:17 +01:00
Ahmed Bodiwala
e73a622b88 Add Stratum 2014-04-20 13:48:18 +00:00
Ahmed Bodiwala
4e88485fa7 Remove Some Requirements 2014-04-20 13:41:47 +00:00
Ahmed Bodiwala
a46c5b2e78 Remove Some Requirements 2014-04-20 13:39:44 +00:00
Ahmed Bodiwala
a44dd7f016 Remove Some Requirements 2014-04-20 13:36:59 +00:00
Ahmed Bodiwala
1a72a9e7b6 Fix Travis 2014-04-20 13:29:50 +00:00
5 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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).

View File

@ -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
View File

@ -0,0 +1 @@

6
tests/test_settings.py Normal file
View File

@ -0,0 +1,6 @@
import lib.settings as settings
def test_settings():
import lib.settings as settings
assert settings.CONFIG_VERSION == 0.1