Currently set up to get data for 17 "important" URLs as defined by Jess (http://bi.consumeraffairs.com/admin/urldata/url/). These indicate the URLs we have to really keep an eye on.
- still figuring out WebPageTest
| In [2]: pytz.common_timezones | |
| Out[2]: ['Africa/Abidjan', 'Africa/Accra', 'Africa/Addis_Ababa', 'Africa/Algiers', 'Africa/Asmara', 'Africa/Bamako', 'Africa/Bangui', 'Africa/Banjul', 'Africa/Bissau', 'Africa/Blantyre', 'Africa/Brazzaville', 'Africa/Bujumbura', 'Africa/Cairo', 'Africa/Casablanca', 'Africa/Ceuta', 'Africa/Conakry', 'Africa/Dakar', 'Africa/Dar_es_Salaam', 'Africa/Djibouti', 'Africa/Douala', 'Africa/El_Aaiun', 'Africa/Freetown', 'Africa/Gaborone', 'Africa/Harare', 'Africa/Johannesburg', 'Africa/Juba', 'Africa/Kampala', 'Africa/Khartoum', 'Africa/Kigali', 'Africa/Kinshasa', 'Africa/Lagos', 'Africa/Libreville', 'Africa/Lome', 'Africa/Luanda', 'Africa/Lubumbashi', 'Africa/Lusaka', 'Africa/Malabo', 'Africa/Maputo', 'Africa/Maseru', 'Africa/Mbabane', 'Africa/Mogadishu', 'Africa/Monrovia', 'Africa/Nairobi', 'Africa/Ndjamena', 'Africa/Niamey', 'Africa/Nouakchott', 'Africa/Ouagadougou', 'Africa/Porto-Novo', 'Africa/Sao_Tome', 'Africa/Tripoli', 'Africa/Tunis', 'Africa/Windhoek', 'America/Adak', 'America/Anc |
| """ | |
| Copies FlaggedLead model items and associated models "back" into the | |
| Lead model and associated models. | |
| Leaves FlaggedLead model items and associated models untouched. | |
| """ | |
| from django.core.management.base import BaseCommand | |
| from django.db import transaction | |
| from lead.models import ( |
Currently set up to get data for 17 "important" URLs as defined by Jess (http://bi.consumeraffairs.com/admin/urldata/url/). These indicate the URLs we have to really keep an eye on.
| # -*- coding: utf-8 -*- | |
| import bs4 | |
| from django.core.management import setup_environ | |
| from ca import settings | |
| setup_environ(settings) | |
| from buyers_guide.models import ( |
| # -*- coding: utf-8 -*- | |
| import bs4 | |
| import csv | |
| from django.core.management import setup_environ | |
| from ca import settings | |
| setup_environ(settings) |
The error below materializes when calling some PHP site URLs directly (e.g. /ajax/questions/process-delete-question):
Fatal error: Call to a member function num_rows() on a non-object in
/var/www/html/noodle/noodle_ci/application/models/config_model.php on line 76
It's this code basically in /var/www/html/noodle/noodle_ci/application/models/config_model.php:
66 $res = $this->db->query('
67 SELECT
Steps:
Rework all unit tests data creation to use noodleauth.tests.data function create_test_user to which optional parameters can be passed to override default
field values used to create test user.
Once this effort is complete, rest of team should start using this function to
create users within unit tests. Unit tests won't be affected by "internal" noodleauth changes ("internal" in this context means changes that are within immediate app only).