Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: fs: test all backends #85

Merged
merged 1 commit into from
May 31, 2022
Merged

tests: fs: test all backends #85

merged 1 commit into from
May 31, 2022

Conversation

efiop
Copy link
Contributor

@efiop efiop commented May 31, 2022

No description provided.

@efiop efiop changed the title tests: fs: test all backends [WIP] tests: fs: test all backends May 31, 2022
scmrepo/fs.py Outdated Show resolved Hide resolved
@@ -363,6 +363,8 @@ def add_commit(
validate_git_remote = partialmethod(_backend_func, "validate_git_remote")
check_ref_format = partialmethod(_backend_func, "check_ref_format")

get_tree_obj = partialmethod(_backend_func, "get_tree_obj")
Copy link
Contributor Author

@efiop efiop May 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only used in tests now, but in the future we should make get_fs use it and not default to GitFileSystem's default behaviour that uses pygit2.

@@ -17,35 +17,9 @@
)
from scmrepo.git import Git

# pylint: disable=redefined-outer-name,unused-argument,protected-access
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to clean this up at some point

@efiop efiop changed the title [WIP] tests: fs: test all backends tests: fs: test all backends May 31, 2022
@efiop efiop requested review from skshetry and pmrowla and removed request for skshetry May 31, 2022 21:20
@efiop
Copy link
Contributor Author

efiop commented May 31, 2022

Note #86

@efiop
Copy link
Contributor Author

efiop commented May 31, 2022

Guys, I'll merge in the interest of time, but would appreciate if you still take a look. Thank you 🙏

@efiop efiop merged commit f35b124 into iterative:main May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant