Skip to content

Commit

Permalink
Update finetuna.Tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Jun 29, 2024
1 parent b580379 commit a862a56
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions tests/finetuna.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ BeforeAll {
$script:sampleFilePath = Get-ChildItem -Recurse totbot-tee-tune.jsonl
}
Describe "finetuna Module Tests" {
Context "Clear-TuneProvider" {
It "Should clear the provider configuration" {
#Clear-TuneProvider
$provider = Get-OpenAIContext
$provider.ApiKey | Should -BeNullOrEmpty
}
}
Context "Set-TuneProvider" {
It "Should set the API key and configuration" {
$splat = @{
Expand Down Expand Up @@ -176,4 +169,12 @@ Describe "finetuna Module Tests" {
$result.IsValid | Should -Be $true
}
}

Context "Clear-TuneProvider" {
It "Should clear the provider configuration" {
Clear-TuneProvider
$provider = Get-OpenAIContext
$provider.ApiKey | Should -BeNullOrEmpty
}
}
}

0 comments on commit a862a56

Please sign in to comment.