-
Couldn't load subscription status.
- Fork 79
Bringing back the green tick (i.e. pass the tests again) #1647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bringing back the green tick (i.e. pass the tests again) #1647
Conversation
… into artifact-study-pages-tests
… into artifact-study-pages-tests
… into artifact-study-pages-tests
|
The changes on this PR seems a lot, however, I have not done that many changes. The changes that I have done are:
|
qiita_db/artifact.py
Outdated
|
|
||
| # Check if there is a job queued or running that will use/is using | ||
| # the artifact | ||
| # Check if there is a job queued, running. waiting or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
running. -> running,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
|
Some minor comments, then 👍 |
|
I also split up the tests in read/only and read/write |
|
Looks like I'm not gonna be able to reduce the running time of the tests here w/o blowing up the size of the PR. @ElDeveloper can you review/merge this one? I have another PR in (#1667) that is doing some work reducing the running time. |
| 'reprocess': False, | ||
| 'number_samples_promised': 27, | ||
| 'emp_person_id': qdb.study.StudyPerson(2), | ||
| 'emp_person_id': 2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not part of tests, but this should be renamed to emp_person since it's no longer the ID.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's incorrect - note how it is actually the id, the ones that are no longer the id are the principal_investigator and the lab_person
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went is this still the id but the rest are not? We should be consistent.
On Feb 27, 2016 14:17, "Jose Navas" notifications@github.com wrote:
In qiita_db/test/test_study.py
#1647 (comment):@@ -147,11 +145,11 @@ def setUp(self):
'metadata_complete': True,
'reprocess': False,
'number_samples_promised': 27,
'emp_person_id': qdb.study.StudyPerson(2),'emp_person_id': 2,That's incorrect - note how it is actually the id, the ones that are no
longer the id are the principal_investigator and the lab_person—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/pull/1647/files#r54337870.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antgonza @ElDeveloper @mortonjt emp_person is not used anywhere in the code and I think we should drop it as that is something that we will be keeping track in Jira, not Qiita. Should we spend time fixing that or just agree that we are going to drop it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added an issue to discuss that: #1668
|
Some comments |
|
Noticing that there are quite a few TODOs. Those aren't being covered in this PR correct? I don't see any obvious issues aside from what @antgonza and @squirrelo . Perhaps @ElDeveloper should take another look over this. |
|
Comments answered. |
|
@josenavas thanks for working on this. @squirrelo thanks for quick reviews. Merging now. |
Bringing back the green tick (i.e. pass the tests again)
Depends on #1641, so review/merge that one first.
This PR fixes the tests in this branch so they're passing again.