May 9, 2019
@sangaline commented early in April about the affect of black on our codebase.
Here's the current state of master as of 5/9/19:
$ cloc ${code_directories[*]}
768 text files.
767 unique files.
» 30 Mar 2015 11:44:13.485 staging {"levelname": "ERROR", "asctime": "2015-03-30 17:44:10,838", "module": "base", "message": "Internal Server Error: /register/", "status_code": 500, "request": "<WSGIRequest\npath:/register/,\nGET:<QueryDict: {u'claim': [u'9988c6ae51e4b853ad28']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'NREUM': 'h=1427737406588&r=227110&p=0',\n 'csrftoken': 'ggNZioNjg1Kg8t8mCqJsTFvQqWus13zU',\n 'sessionid': 'ayg8445k48guvk9nc1kl8dsh53klkldx'},\nMETA:{u'CSRF_COOKIE': u'ggNZioNjg1Kg8t8mCqJsTFvQqWus13zU',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',\n 'HTTP_ACCEPT_LANGUAGE': 'en-us',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_COOKIE': 'csrftoken=ggNZioNjg1Kg8t8mCqJsTFvQqWus13zU; NREUM=h=1427737406588&r=227110&p=0; sessionid=ayg8445k48guvk9nc1kl8dsh53klkldx',\n 'HTTP_HOST': 'staging.aviation.awarnys.com',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_2 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version |
# coding: utf-8 | |
def command(): | |
""" | |
Management command creates ClientOrgs and ClientMemberships | |
from existing Users and their Assigned*Account attributes. | |
""" | |
client_orgs = [] | |
members = [] | |
save = False | |
class CourseAdminLdap(MGHMockLdapMixin, MGHTestCase): | |
def setUp(self): | |
self._create_org_and_users() | |
self.test_course = self._create_course() | |
self.cv = self._create_course_version() | |
super(CourseAdminLdap, self).setUp() | |
def test_trainee_user_search(self): |
$ npm run dev | |
> @ dev /Users/graham/code/mgh | |
> concurrently --raw "./manage.py runserver" "npm run watch" "npm run dev:browser-sync" | |
> @ watch /Users/graham/code/mgh | |
> npm run clean && npm run copy:fonts && npm run copy:images && npm run build:css && concurrently --raw "npm run watch:lint" "npm run watch:babel" "npm run watch:js" "npm run watch:css" | |
Testing started at 14:30 ... | |
ssh://vagrant@127.0.0.1:2222/home/vagrant/.pyenv/versions/tenantbase/bin/python -u /home/vagrant/.pycharm_helpers/pycharm/django_test_manage.py test --exclude-tag=leasing --exclude-tag=integration /vagrant | |
/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/weasyprint/text.py:28: UserWarning: There are known rendering problems with Cairo <= 1.14.0 | |
warnings.warn('There are known rendering problems with Cairo <= 1.14.0') | |
/home/vagrant/.pyenv/versions/tenantbase/lib/python2.7/site-packages/weasyprint/fonts.py:43: UserWarning: @font-face support needs Pango >= 1.38 | |
warnings.warn('@font-face support needs Pango >= 1.38') | |
Creating test database for alias 'default'... | |
Creating test database for alias 'hubspot_v2'... | |
System check identified no issues (0 silenced). |
SELECT DISTINCT "realestate_db_building"."id", | |
"realestate_db_building"."public_notes", | |
"realestate_db_building"."public_notes_changed", | |
"realestate_db_building"."private_notes", | |
"realestate_db_building"."private_notes_changed", | |
"realestate_db_building"."name", | |
"realestate_db_building"."displayed", | |
"realestate_db_building"."website", | |
"realestate_db_building"."kind", | |
"realestate_db_building"."access", |
(u'no', 0, 1, u'SRID=4326;MULTIPOLYGON (((-96.81702464818954 32.8163179425074, -96.81082874536514 32.77174143379595, -96.7876772582531 32.78116354354958, -96.7920345067978 32.7859824610326, -96.79210759699345 32.81096302069943, -96.78060829639433 32.83251712351861, -96.80696703493595 32.82450355259063, -96.81702464818954 32.8163179425074)))', 51, True, u'SRID=4326;MULTIPOLYGON (((-96.81702464818954 32.8163179425074, -96.81082874536514 32.77174143379595, -96.7876772582531 32.78116354354958, -96.7920345067978 32.7859824610326, -96.79210759699345 32.81096302069943, -96.78060829639433 32.83251712351861, -96.80696703493595 32.82450355259063, -96.81702464818954 32.8163179425074)))', True, u'SRID=4326;MULTIPOLYGON (((-96.81702464818954 32.8163179425074, -96.81082874536514 32.77174143379595, -96.7876772582531 32.78116354354958, -96.7920345067978 32.7859824610326, -96.79210759699345 32.81096302069943, -96.78060829639433 32.83251712351861, -96.80696703493595 32.82450355259063, -96.81702464818954 32.8163179425074)))', u |
May 9, 2019
@sangaline commented early in April about the affect of black on our codebase.
Here's the current state of master as of 5/9/19:
$ cloc ${code_directories[*]}
768 text files.
767 unique files.