Skip to content

Commit

Permalink
Remove outdated migration guideline re: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Apr 14, 2015
1 parent 021d8ba commit 72d4105
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/osf/migrations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Migrations
"""Generate the nodes to migrate."""
return (node for node in Node.find(Q('category', 'nin', Node.VALID_CATEGORIES)))
- Migrations should have automated tests. These can go in the same file as the migration script.
- Use Python's ``logging`` module for logging output. In addition, use ``scripts.utils.add_file_logger`` to add a file handler that will add timestamped log file in ``website.settings.LOG_PATH``.
- Add tests in the `scripts/tests` directory.

Expand Down

0 comments on commit 72d4105

Please sign in to comment.