bzed / go.debian.net

Debian short url service
http://deb.li
Other
5 stars 1 forks source link

Automated testing #4

Open ninjatrench opened 8 years ago

ninjatrench commented 8 years ago

Pre-run Tests :

Unittesting :

bzed commented 8 years ago
ninjatrench commented 8 years ago

Share lock thing also not supported in SQLlite so commented out that part and replaced

 id = session.execute("""select nextval('%s');""" % (_URL_ID_SEQ,)).fetchone()[0]

with in godebian/db.py line 174-175

id = int(session.query(Url.pk).count()) + 1
ninjatrench commented 8 years ago

Done :

Pending :

ninjatrench commented 8 years ago

Documentation: Wiki - https://github.com/ninjatrench/go.debian.net/wiki Deployment - https://github.com/ninjatrench/go.debian.net/wiki/Deployment API - https://github.com/ninjatrench/go.debian.net/wiki/JSON-API-usage