mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Travis fixes
This commit is contained in:
parent
fe9749ba4f
commit
96ef5e1bde
@ -39,13 +39,13 @@ script:
|
|||||||
- invoke translate
|
- invoke translate
|
||||||
- invoke style
|
- invoke style
|
||||||
# Create an empty database and fill it with test data
|
# Create an empty database and fill it with test data
|
||||||
- rm inventree_db.sqlite3
|
- rm inventree_default_db.sqlite3
|
||||||
- invoke migrate
|
- invoke migrate
|
||||||
- invoke import-fixtures
|
- invoke import-fixtures
|
||||||
# Export database records
|
# Export database records
|
||||||
- invoke export-records -f data.json
|
- invoke export-records -f data.json
|
||||||
# Create a new empty database and import the saved data
|
# Create a new empty database and import the saved data
|
||||||
- rm inventree_db.sqlite3
|
- rm inventree_default_db.sqlite3
|
||||||
- invoke import-records -f data.json
|
- invoke import-records -f data.json
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
@ -40,7 +40,6 @@ class SettingsTest(TestCase):
|
|||||||
# Check object lookup (case insensitive)
|
# Check object lookup (case insensitive)
|
||||||
self.assertEqual(InvenTreeSetting.get_setting_object('iNvEnTrEE_inSTanCE').pk, 1)
|
self.assertEqual(InvenTreeSetting.get_setting_object('iNvEnTrEE_inSTanCE').pk, 1)
|
||||||
|
|
||||||
|
|
||||||
def test_required_values(self):
|
def test_required_values(self):
|
||||||
"""
|
"""
|
||||||
- Ensure that every global setting has a name.
|
- Ensure that every global setting has a name.
|
||||||
|
Loading…
Reference in New Issue
Block a user