Skip to main content

YD Technology common libraries

Project description

https://travis-ci.org/ArabellaTech/ydcommon.png?branch=master https://coveralls.io/repos/ArabellaTech/ydcommon/badge.png?branch=master Requirements Status

System Requirements

  • Python 2.7+

Settings

  • IGNORE_QUNIT_HTML_FILES ignore HTML qunits files
  • JSHINT_FILES_FIND JS Hint search files grep. Default -name "*.js" | xargs grep -l '/\*jslint' | grep -v libs

Views

QunitTestsView Qunit tests (stuff permission required), example entry in urls.py:

url(r"^js-tests/(?P<path>.*)", 'ydcommon.views.qunit_view', name='quinit'),

Commands

Checking requirement for tests:

./manage.py check_test_requirements

Running Qunit tests

./manage.py run_qunit

Running JS Hint

./manage.py jshint

Running JS Hint with custom directory

./manage.py jshint --dir=my/custom/dir

Clear database - drop all tables

./manage.py clear_database

Dump database

./manage.py dump_database

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ydcommon, version 0.1.68
Filename, size File type Python version Upload date Hashes
Filename, size ydcommon-0.1.68-py2.py3-none-any.whl (22.2 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size ydcommon-0.1.68.tar.gz (14.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page