Skip to content

Commit

Permalink
Merge pull request #177 from richm/issue-67
Browse files Browse the repository at this point in the history
issue-67: Create storage_lsr sub-directory under module_utils and move size.py there
  • Loading branch information
richm authored Oct 28, 2020
2 parents 00a6803 + cf8f8aa commit e990c1f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/bsize.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
'''

from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.size import Size
from ansible.module_utils.storage_lsr.size import Size

def run_module():
# available arguments/parameters that a user can pass
Expand Down
2 changes: 1 addition & 1 deletion library/find_unused_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
import re

from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.size import Size
from ansible.module_utils.storage_lsr.size import Size


SYS_CLASS_BLOCK = "/sys/class/block/"
Expand Down
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/unit/bsize_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from size import Size
from storage_lsr.size import Size

def test_bsize():
# check failure on incorrect string
Expand Down

0 comments on commit e990c1f

Please sign in to comment.