Skip to content

Commit

Permalink
Merge pull request #9 from Hack-The-Travel/develop
Browse files Browse the repository at this point in the history
Release v1.0.1 - fix

Bugfixes
- Supported relative location of db storage.
  • Loading branch information
gurza authored Aug 5, 2018
2 parents 5c26fa6 + 5914d84 commit a26a74b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
Release History
===============

1.0.1 (2018-08-02)
++++++++++++++++++

**Bugfixes**

- Supported relative location of db storage.


1.0.0 (2018-07-02)
++++++++++++++++++

Expand Down
7 changes: 6 additions & 1 deletion conf.sample.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# -*- coding: utf-8 -*-
import os

here = os.path.dirname(os.path.abspath(__file__))


accounts = {
'OTA.TCH': {
'user': 'ota_grs101',
Expand All @@ -12,7 +17,7 @@
sender = ('Anton Yakovlev', '[email protected]')
recipient_info = '[email protected]'
recipient_alert = '[email protected]'
db_name = 'db/quota.db'
db_name = os.path.join(here, 'db/quota.db')
smtp_gateway= 'email-smtp.eu-west-1.amazonaws.com'
smtp_port = 587
smtp_user = 'aws_ses_user'
Expand Down
4 changes: 3 additions & 1 deletion tests/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
import pytest
from manage import setup_store

here = os.path.dirname(os.path.abspath(__file__))


class TestDB():
db_name = 'db/test.db'
db_name = os.path.join(here, '../db/test.db')

def test_init_db(self):
try:
Expand Down

0 comments on commit a26a74b

Please sign in to comment.