Skip to content

jacobcr/python-apns-dummy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-gcm-dummy

Dummy server that simulates apple APNS feedback service, it is designed to easy make an integration test in order to verify if tokens are properly managed

At this point timestamp is not correctly sended

Responses

By default server will output ok responses but a results file can be defined.

Example file:

someapplepushtoken1
someapplepushtoken2

Server will automatically load any resuts.csv file in the working dir.

Usage

pip install gevent
python server.py
Starting server on 0.0.0.0:8081

Options

python server.py --help
Usage: server.py [options]

Options:
  -h, --help            show this help message and exit
  -p PORT, --port=PORT  Server port [8081]
  -b BIND, --bind_address=BIND
                        Bind addreess [0.0.0.0]
  -r RFILE, --results_file=RFILE
                        Results file [results.csv]

About

Dummy server that simulates apple APNS feedback service, it is designed to easy make an integration test in order to verify if tokens are properly managed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages