Skip to content

Conversation

Skanyi
Copy link
Owner

@Skanyi Skanyi commented Jan 9, 2017

No description provided.

## Testing
To run the tests for the app, and see the coverage, run
```
nosetests --with-coverage

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shows coverage even for your test dependencies. Report coverage only for your app.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add a .coveragerc file to tell it what to ignore.

config/config.py Outdated
DEBUG = True
TESTING = False
CSRF_ENABLED = True
SECRET_KEY = 'ssssssssssssssssssssuuuuuuuuuuuuuuuuuuutttttttttttttttffffff666668778999'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the SECRET_KEY to your environment and import it from os.env

Mako==1.0.6
MarkupSafe==0.23
nose==1.3.7
passlib==1.7.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

passlib and Werkzeug do the same thing... from werkzeug.security import generate_password_hash, check_password_hash It would be better to just use Werkzeug as it comes with a Flask installation.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used it at the start but it was returning count error , when trying to get the hashed password. any help on this

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7b6be18 on develop into ** on master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 7677ade on develop into ** on master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling a2541ca on develop into ** on master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 46ff030 on develop into ** on master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 01ee03f on develop into ** on master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling d1b71e2 on develop into ** on master**.

app/views.py Outdated
from flask_sqlalchemy import SQLAlchemy
from app import app, api, db
from .models import User, BucketList, BucketListItems
from .serializers import bucketlist_serializer, bucketlistitem_serializer
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let us find a way to import without the .

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe e.g app.serializers

config/config.py Outdated

class DevelopmentConfig(Config):
DEVELOPMENT = True
DEBUG = True
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are repeating yourself here since this is already L6

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 706a7e6 on develop into ** on master**.

@Skanyi Skanyi merged commit c945238 into master Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants