Merge nucleic/fuzzy-dewy-urchin-hpvd into dev
This commit is contained in:
@@ -131,6 +131,16 @@ class RebuildSolHighTests(unittest.TestCase):
|
||||
self.assertNotIn("--resume-from", commands)
|
||||
self.assertNotIn("--model ", commands)
|
||||
|
||||
def test_training_commands_default_to_invoking_interpreter(self):
|
||||
args = rebuild_sol_high.build_parser().parse_args(["train-commands"])
|
||||
|
||||
self.assertEqual(args.python, sys.executable)
|
||||
self.assertTrue(
|
||||
rebuild_sol_high.train_commands(args.python).startswith(
|
||||
f'"{sys.executable}" ml/purpose-classifier/train.py'
|
||||
)
|
||||
)
|
||||
|
||||
def test_complete_stage_promotes_public_and_combined_datasets(self):
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
root = Path(directory)
|
||||
|
||||
Reference in New Issue
Block a user