Skip to content

Commit

Permalink
subnet
Browse files Browse the repository at this point in the history
  • Loading branch information
latentvector committed May 15, 2024
1 parent 2e0c34d commit d9b3f86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion subnet/subnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def score_module(self, module):


@classmethod
def test(cls, n=3, sleep_time=1):
def testnet(cls, n=3, sleep_time=1):
test_vali = 'subnet.vali::test'
test_miners = [f'subnet.miner::test_{i}' for i in range(n)]
for miner in test_miners:
Expand All @@ -35,4 +35,6 @@ def test(cls, n=3, sleep_time=1):

c.serve('subnet.miner::test')

test = testnet


0 comments on commit d9b3f86

Please sign in to comment.