Skip to content

Commit

Permalink
Add git feature to remaining tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Jan 22, 2025
1 parent 39d2238 commit 0b4365a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crates/uv/tests/it/branching_urls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ fn branching_between_registry_and_direct_url() -> Result<()> {
/// ]
/// ```
#[test]
#[cfg(feature = "git")]
fn branching_urls_of_different_sources_disjoint() -> Result<()> {
let context = TestContext::new("3.12");

Expand Down Expand Up @@ -703,6 +704,7 @@ fn branching_urls_of_different_sources_disjoint() -> Result<()> {
/// ]
/// ```
#[test]
#[cfg(feature = "git")]
fn branching_urls_of_different_sources_conflict() -> Result<()> {
let context = TestContext::new("3.12");

Expand Down
1 change: 1 addition & 0 deletions crates/uv/tests/it/edit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4545,6 +4545,7 @@ fn add_repeat() -> Result<()> {

/// Add from requirement file.
#[test]
#[cfg(feature = "git")]
fn add_requirements_file() -> Result<()> {
let context = TestContext::new("3.12").with_filtered_counts();

Expand Down
2 changes: 1 addition & 1 deletion crates/uv/tests/it/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ mod export;

mod help;

#[cfg(all(feature = "python", feature = "pypi"))]
#[cfg(all(feature = "python", feature = "pypi", feature = "git"))]
mod init;

#[cfg(all(feature = "python", feature = "pypi"))]
Expand Down

0 comments on commit 0b4365a

Please sign in to comment.