Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 566 Bytes

RUNNING_UNIT_TESTS.rst

File metadata and controls

15 lines (13 loc) · 566 Bytes

Running Tests

  1. Start FoundationDB SQL Layer
  2. git clone [email protected]:django/django.git
  3. git clone [email protected]:FoundationDB/sql-layer-adapter-django.git
  4. cd django/
  5. git apply --verbose ../sql-layer-adapter-django/test_support/django_x_y_z_tests.diff
  6. cp ../sql-layer-adapter-django/test_support/{fdb_helper.py,test_fdbsql.py} tests/
  7. cd tests/
  8. export PYTHONPATH=..
  9. export DJANGO_SETTINGS_MODULE=test_fdbsql
  10. export PYTHONPATH=..:../../sql-layer-adapter-django
  11. python fdb_helper.py