Skip to content

jaunis/xivo-dao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xivo-dao Build Status

xivo-dao is a library used internally by XiVO to access and modify different data sources (e.g. postgres database, provisoning database).

Running unit tests

  1. Install PostgreSQL
  2. Install dependencies with pip install -r requirements.txt
  3. Create a test database
  4. Run the tests with nosetests xivo_dao

Creating the test database

You can create the database by running these SQL commands:

CREATE DATABASE asterisktest;
CREATE USER asterisk WITH PASSWORD 'asterisk';
GRANT ALL ON DATABASE asterisktest TO asterisk;

On debian based systems you can access the psql console with sudo -u postgres psql

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages