Пример #1
0
 def test_set_author_name(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/author_set_name.yaml")
Пример #2
0
 def test_select_col_not_present(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/select_article_col_not_present_err.yaml')
Пример #3
0
 def test_select_nested_where_query(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/nested_select_where_query_author_article.yaml')
Пример #4
0
 def test_reload_metadata(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/reload_metadata.yaml')
Пример #5
0
 def test_replace_metadata_v2(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/replace_metadata_v2.yaml')
Пример #6
0
 def test_select_author_where(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/select_query_author_where.yaml')
Пример #7
0
 def test_count_other_users_unpublished_articles(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/count_users_unpublished_articles.yaml")
Пример #8
0
 def test_nested_select_article_author(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/nested_select_query_article_author.yaml')
Пример #9
0
 def test_user_can_update_unpublished_article(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/user_can_update_unpublished_article.yaml")
Пример #10
0
 def test_no_operator_err(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/person_error_no_operator.yaml")
Пример #11
0
 def test_no_where_clause_err(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/person_error_no_where_clause.yaml")
Пример #12
0
 def test_product_set_default_price(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/product_set_default_price.yaml")
Пример #13
0
 def test_person_id_inc(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/person_inc.yaml")
Пример #14
0
 def test_set_person_details(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/person_set_details.yaml")
Пример #15
0
 def test_count_distinct_col_not_present_err(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/count_distinct_col_not_present_err.yaml")
Пример #16
0
 def test_user_cannot_update_published_version_col(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/user_cannot_update_published_article_version.yaml")
     hge_ctx.may_skip_test_teardown = True
Пример #17
0
 def test_count_distinct_authors_with_unpublished_articles(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/count_distinct_authors_with_unpublished_articles.yaml")
Пример #18
0
 def test_user_cannot_update_id_col(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/user_cannot_update_id_col_article.yaml")
     hge_ctx.may_skip_test_teardown = True
Пример #19
0
 def test_count_user_has_no_select_permission_err(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/count_user_has_no_select_perm_error.yaml")
Пример #20
0
 def test_user_update_resident_preset_error(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/user_update_resident_preset_error.yaml")
     hge_ctx.may_skip_test_teardown = True
Пример #21
0
 def test_delete_author(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/delete_article.yaml')
Пример #22
0
 def test_user_update_resident_preset_session_var(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/user_update_resident_preset_session_var.yaml")
Пример #23
0
 def test_replace_metadata_wo_remote_schemas(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/replace_metadata_wo_rs.yaml')
Пример #24
0
 def test_nested_select_article_author_alias_for_relationship(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/nested_select_query_article_author_rel_alias.yaml')
Пример #25
0
 def test_dump_internal_state(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/dump_internal_state.yaml')
Пример #26
0
 def test_count_authors(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/count_authors.yaml")
Пример #27
0
 def test_clear_export_metadata(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/clear_export_metadata.yaml')
Пример #28
0
 def test_count_articles_non_registered_authors(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/count_articles_with_non_registered_authors.yaml")
Пример #29
0
 def test_select_query_read_only(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + '/sql_select_query_read_only.yaml')
     hge_ctx.may_skip_test_teardown = True
Пример #30
0
 def test_resident_1_modifies_resident_2_upsert(self, hge_ctx):
     check_query_f(hge_ctx, self.dir() + "/resident_1_modifies_resident_2_upsert.yaml")