This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Final needed fix for stream_data.py
Summary: revisions were automatically creating source objects, which we then tried to create a second time later. The simple fix is to skip creating source objects from stream_data.py (stream_data.py sometimes creates sources with patches attached, so let's let it create the source.) @ptyl, this is now a working way to get some kind of test data into a local db. (although what you already have more closely resembles production data, so you may not need this) To random future person who may someday read this description: another possible solution is to use session.merge() in our mocking code. Test Plan: stream_data.py with the new flag set to True/False. Only works when False Reviewers: haoyi, vishal, josiah Reviewed By: josiah Subscribers: changesbot, mkedia, ptyl, vishal, tiago Differential Revision: https://tails.corp.dropbox.com/D115339
- Loading branch information
Showing
6 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters