feat!: drop django test, which only ever ran one of the runners
This commit is contained in:
@@ -35,7 +35,4 @@ pub enum Django {
|
||||
|
||||
/// Run Django's manage.py shell
|
||||
Shell,
|
||||
|
||||
/// Run Django's manage.py test
|
||||
Test,
|
||||
}
|
||||
|
||||
@@ -82,10 +82,6 @@ pub fn shell(ctx: &Ctx) -> Result<()> {
|
||||
manage(ctx, &["shell".to_string()])
|
||||
}
|
||||
|
||||
pub fn test(ctx: &Ctx) -> Result<()> {
|
||||
manage(ctx, &["test".to_string()])
|
||||
}
|
||||
|
||||
fn service(ctx: &Ctx) -> Result<String> {
|
||||
Project::resolve(ctx)?.django()
|
||||
}
|
||||
|
||||
@@ -53,7 +53,6 @@ fn run(ctx: &Ctx, command: cli::Commands) -> Result<ExitCode> {
|
||||
cli::Django::Manage { rest } => commands::django::manage(ctx, &rest),
|
||||
cli::Django::Migrate { rest } => commands::django::migrate(ctx, &rest),
|
||||
cli::Django::Shell => commands::django::shell(ctx),
|
||||
cli::Django::Test => commands::django::test(ctx),
|
||||
}?;
|
||||
|
||||
Ok(done)
|
||||
|
||||
Reference in New Issue
Block a user