Skip to content
This repository was archived by the owner on Jul 1, 2019. It is now read-only.

govau/notifications-utils

Repository files navigation

GOV.UK Notify - notifications-utils [BETA]

Shared python code for GOV.UK Notify

Provides logging utils etc.

Installing

This is a python application.

Python version

This is a python 3 application. It has not been run against any version of python 2.x

brew install python3

Dependency management

This is done through pip and virtualenv. In practise we have used VirtualEnvWrapper for our virtual environemnts.

Setting up a virtualenvwrapper for python3

mkvirtualenv -p /usr/local/bin/python3 notifications-python-client

The boostrap script will set the application up. Ensure you have activated the virtual environment first.

./scripts/bootstrap.sh

This will

  • Use pip to install dependencies.

Tests

The ./scripts/run_tests.sh script will run all the tests. py.test is used for testing.

Running tests will also apply syntax checking, using pycodestyle.

Additionally code coverage is checked via pytest-cov:

About

DTA fork of GOV.UK shared Notify code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 16

Languages