Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed Jul 14, 2017
2 parents 5d997fa + e19202a commit fd66040
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ after_success:
- coveralls
notifications:
email: false
slack: friendsofhasgeek:3bLViYSzhfaThJovFYCVD3fX
slack:
- hasgeek:HDCoMDj3T4ICB59qFFVorCG8
- friendsofhasgeek:3bLViYSzhfaThJovFYCVD3fX
6 changes: 4 additions & 2 deletions runtests.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/sh
coverage run `which nosetests`
coverage report
set -e
export FLASK_ENV="TESTING"
coverage run `which nosetests` "$@"
coverage report -m
4 changes: 2 additions & 2 deletions shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
pass
from pprint import pprint # NOQA
from coaster.sqlalchemy import BaseMixin
from coaster import newid
from coaster.utils import buid

from flask import Flask
from nodular import * # NOQA


class User(BaseMixin, db.Model):
__tablename__ = 'user'
userid = db.Column(db.Unicode(22), nullable=False, default=newid, unique=True)
userid = db.Column(db.Unicode(22), nullable=False, default=buid, unique=True)
username = db.Column(db.Unicode(250), nullable=True)


Expand Down

0 comments on commit fd66040

Please sign in to comment.