We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43acb88 commit db8ff63Copy full SHA for db8ff63
desktop/core/src/desktop/api2_tests.py
@@ -713,9 +713,10 @@ def test_multiple_gist_dirs_on_gist_create(self):
713
doc_type='hive-query',
714
name='test_gist_create',
715
)
716
+ gist_parent_dir = Document2.objects.get(type='gist', name='test_gist_create').parent_directory
717
718
assert_equal(1, Directory.objects.filter(name=Document2.GIST_DIR, type='directory').count())
- assert_equal(Document2.GIST_DIR, Document2.objects.get(type='gist', name='test_gist_create').parent_directory.name)
719
+ assert_true(Directory.objects.filter(name=Document2.GIST_DIR, type='directory', uuid=gist_parent_dir.uuid).exists())
720
721
722
def test_get(self):
0 commit comments