test fixes

This commit is contained in:
Rushabh Mehta 2014-04-18 16:17:29 +05:30
parent 370a024e46
commit 603e6e21b5
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ script:
cd ./test_sites/ &&
frappe --reinstall test_site &&
frappe --install_app erpnext test_site --verbose &&
frappe --request '?cmd=erpnext.setup.page.setup_wizard.setup_wizard.setup_account&currency=USD&first_name=Test&last_name=User&company_name=Wind+Power+LLC&timezone=America/New_York&company_abbr=WP&industry=Manufacturing&country=United states&fy_start_date=2014-01-01&fy_end_date=2014-12-31&language=english' test_site &&
frappe --request '?cmd=erpnext.setup.page.setup_wizard.setup_wizard.setup_account&currency=USD&first_name=Test&last_name=User&company_name=Wind+Power+LLC&timezone=America/New_York&company_abbr=WP&industry=Manufacturing&country=United states&fy_start_date=2014-01-01&fy_end_date=2014-12-31&language=english&company_tagline=Testing&email=test@erpnext.com&password=test' test_site &&
frappe --verbose --run_tests test_site --app erpnext
before_script:

View File

@ -14,7 +14,6 @@ class ItemGroup(NestedSet, WebsiteGenerator):
self.name = self.item_group_name
def validate(self):
super(ItemGroup, self).on_update()
if not self.parent_website_route:
self.parent_website_route = frappe.get_website_route("Item Group",
self.parent_item_group)

View File

@ -1,4 +1,5 @@
{
"db_name": "travis",
"db_password": "travis"
"db_name": "travis",
"db_password": "travis",
"mute_emails": 1
}