Skip to content

Commit

Permalink
[TST] Add test that the default config loads and parses (chroma-core#…
Browse files Browse the repository at this point in the history
…1901)

## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
	 - Adds a basic test to ensure that the default config loads and parses
 - New functionality
	 - None

## Test plan
*How are these changes tested?*
This is a test
- [x] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
None
  • Loading branch information
HammadB authored Mar 20, 2024
1 parent c04a31a commit af40bb1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/worker/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,4 +333,10 @@ mod tests {
Ok(())
});
}

#[test]
fn test_default_config_path() {
// Sanity check that root config loads from default path correctly
let _ = RootConfig::load();
}
}

0 comments on commit af40bb1

Please sign in to comment.