mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Remove unused Git.new_branch
This commit is contained in:
parent
6f921087f4
commit
05ad1e1b18
@ -127,7 +127,6 @@ class Git:
|
||||
self.run = git_runner.run
|
||||
self.latest_tag = ""
|
||||
self.new_tag = ""
|
||||
self.new_branch = ""
|
||||
self.branch = ""
|
||||
self.sha = ""
|
||||
self.sha_short = ""
|
||||
|
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from unittest.mock import patch
|
||||
import os.path as p
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
from git_helper import Git, Runner, CWD
|
||||
from git_helper import CWD, Git, Runner
|
||||
|
||||
|
||||
class TestRunner(unittest.TestCase):
|
||||
@ -45,7 +45,6 @@ class TestGit(unittest.TestCase):
|
||||
update_mock.assert_called_once()
|
||||
self.git.run("test")
|
||||
self.run_mock.assert_called_once()
|
||||
self.git.new_branch = "NEW_BRANCH_NAME"
|
||||
self.git.new_tag = "v21.12.333.22222-stable"
|
||||
self.git.branch = "old_branch"
|
||||
self.git.sha = ""
|
||||
|
Loading…
Reference in New Issue
Block a user