diff --git a/python/sglang/test/kits/ebnf_constrained_kit.py b/python/sglang/test/kits/ebnf_constrained_kit.py index 7c16a6221..6d00249a2 100644 --- a/python/sglang/test/kits/ebnf_constrained_kit.py +++ b/python/sglang/test/kits/ebnf_constrained_kit.py @@ -3,7 +3,7 @@ import json import requests -class TestEBNFConstrainedMinxin: +class TestEBNFConstrainedMixin: ebnf_grammar = 'root ::= "test"' # Default grammar def _run_decode_ebnf( diff --git a/test/registered/constrained_decoding/test_constrained_decoding.py b/test/registered/constrained_decoding/test_constrained_decoding.py index d83f0d3e2..20f8e7388 100644 --- a/test/registered/constrained_decoding/test_constrained_decoding.py +++ b/test/registered/constrained_decoding/test_constrained_decoding.py @@ -6,7 +6,7 @@ register_amd_ci(est_time=179, suite="stage-b-test-small-1-gpu-amd") import unittest from sglang.srt.utils import kill_process_tree -from sglang.test.kits.ebnf_constrained_kit import TestEBNFConstrainedMinxin +from sglang.test.kits.ebnf_constrained_kit import TestEBNFConstrainedMixin from sglang.test.kits.json_constrained_kit import TestJSONConstrainedMixin from sglang.test.kits.regex_constrained_kit import TestRegexConstrainedMixin from sglang.test.test_utils import ( @@ -51,7 +51,7 @@ class ServerWithGrammar(CustomTestCase): class TestXGrammarBackend( ServerWithGrammar, TestJSONConstrainedMixin, - TestEBNFConstrainedMinxin, + TestEBNFConstrainedMixin, TestRegexConstrainedMixin, ): backend = "xgrammar" @@ -64,7 +64,7 @@ class TestOutlinesBackend(ServerWithGrammar, TestJSONConstrainedMixin): class TestLLGuidanceBackend( ServerWithGrammar, TestJSONConstrainedMixin, - TestEBNFConstrainedMinxin, + TestEBNFConstrainedMixin, TestRegexConstrainedMixin, ): backend = "llguidance" diff --git a/test/registered/distributed/test_dp_attention.py b/test/registered/distributed/test_dp_attention.py index a158b53ce..e36f7a2e3 100644 --- a/test/registered/distributed/test_dp_attention.py +++ b/test/registered/distributed/test_dp_attention.py @@ -7,7 +7,7 @@ from sglang.srt.environ import envs from sglang.srt.utils import kill_process_tree from sglang.test.ci.ci_register import register_cuda_ci from sglang.test.few_shot_gsm8k import run_eval as run_eval_few_shot_gsm8k -from sglang.test.kits.ebnf_constrained_kit import TestEBNFConstrainedMinxin +from sglang.test.kits.ebnf_constrained_kit import TestEBNFConstrainedMixin from sglang.test.kits.json_constrained_kit import TestJSONConstrainedMixin from sglang.test.kits.radix_cache_server_kit import run_radix_attention_test from sglang.test.kits.regex_constrained_kit import TestRegexConstrainedMixin @@ -29,7 +29,7 @@ register_cuda_ci(est_time=350, suite="stage-b-test-large-2-gpu") class TestDPAttentionDP2TP2( CustomTestCase, TestJSONConstrainedMixin, - TestEBNFConstrainedMinxin, + TestEBNFConstrainedMixin, TestRegexConstrainedMixin, ): @classmethod @@ -74,7 +74,7 @@ class TestDPAttentionDP2TP2( class TestDPRetract( CustomTestCase, TestJSONConstrainedMixin, - TestEBNFConstrainedMinxin, + TestEBNFConstrainedMixin, TestRegexConstrainedMixin, ): @classmethod @@ -114,7 +114,7 @@ class TestDPRetract( class TestDPAttentionDP2TP2DeepseekV3MTP( CustomTestCase, TestJSONConstrainedMixin, - TestEBNFConstrainedMinxin, + TestEBNFConstrainedMixin, TestRegexConstrainedMixin, ): @classmethod