YD Technology common libraries
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ydcommon-0.1.68.tar.gz
(14.8 kB
view details)
Built Distribution
File details
Details for the file ydcommon-0.1.68.tar.gz
.
File metadata
- Download URL: ydcommon-0.1.68.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 477124e68b3db40597e506753286d3c1bb627c43edef6640dfee5a81ed08f493 |
|
MD5 | 34939bbbfdc3e6b95b1ceee182b10ab4 |
|
BLAKE2b-256 | c4280398becd7cc5c6f32f1a70447291c05990d5578c656594c9e07c3493dfd2 |
File details
Details for the file ydcommon-0.1.68-py2.py3-none-any.whl
.
File metadata
- Download URL: ydcommon-0.1.68-py2.py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae4bac4e94f35ae051f758b4e69dc298bdc46e0704b59247108542df36f08d41 |
|
MD5 | 66a38b0752adaa94a263c46eb87bb41b |
|
BLAKE2b-256 | 7e0fa0d7bdabbf2372d1b5bba24372369cf7569e2cb34f96b8e3c6352e60076c |