1. Dan Jacob
  2. rentalerts

Commits

danjac  committed 7553f3f

Changed test db settings

  • Participants
  • Parent commits 8be4782
  • Branches default

Comments (0)

Files changed (2)

File fabfile.py

View file
 @api.task
 def tests():
 
-    pass
 
-    #with api.cd(server.dirname):
-    #    api.run("%s test pm site helpers alerts accounts apartments" % server.manager)
+    with api.cd(server.dirname):
+        api.run("%s test pm site helpers alerts accounts apartments" % server.manager)
 
 
 @api.task

File rentalerts/settings/base.py

View file
         'PASSWORD': '',
         'HOST': '',
         'PORT': '',
-    }
+        'TEST_NAME' : 'testing',
+    },
+    'testing' : {
+        'ENGINE' : 'django.db.backends.sqlite3',
+    },
 }
 
 # Local time zone for this installation. Choices can be found here: