Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2 from foglamp/1.5.0RC
Browse files Browse the repository at this point in the history
1.5.0 Release
  • Loading branch information
praveen-garg authored Feb 22, 2019
2 parents aa2bc70 + 105f593 commit de23117
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 486 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
======================
========================
foglamp-south-randomwalk
======================
========================

FogLAMP South Plugin for randomwalk. `read more <https://github.com/foglamp/foglamp-south-randomwalk/blob/master/python/foglamp/plugins/south/randomwalk/readme.rst>`_


***********************
************************
Packaging for randomwalk
***********************
************************

This repo contains the scripts used to create a foglamp-south-randomwalk package.

Expand Down
2 changes: 2 additions & 0 deletions VERSION.south.randomwalk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
foglamp_south_randomwalk_version=1.5.0
foglamp_version>=1.5
2 changes: 0 additions & 2 deletions VERSION.south.sinusoid

This file was deleted.

17 changes: 0 additions & 17 deletions foglamp-south-sinusoid.sublime-project

This file was deleted.

460 changes: 0 additions & 460 deletions foglamp-south-sinusoid.sublime-workspace

This file was deleted.

Empty file modified make_deb
100644 → 100755
Empty file.
Empty file modified packages/Debian/DEBIAN/postinst
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion python/foglamp/plugins/south/randomwalk/randomwalk.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def plugin_info():
"""
return {
'name': 'RandomWalk Poll plugin',
'version': '1.0.0',
'version': '1.5.0',
'mode': 'poll',
'type': 'south',
'interface': '1.0',
Expand Down
8 changes: 6 additions & 2 deletions test/test_sinusoid.py → test/test_randomwalk.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_plugin_contract():
def test_plugin_info():
assert randomwalk.plugin_info() == {
'name': 'RandomWalk Poll plugin',
'version': '2.0.0',
'version': '1.5.0',
'mode': 'poll',
'type': 'south',
'interface': '1.0',
Expand All @@ -38,7 +38,11 @@ def test_plugin_info():


def test_plugin_init():
assert randomwalk.plugin_init(config) == config
expected_config = randomwalk.plugin_init(config)
expected_config['lastValue'] = None
actual_config = config
actual_config['lastValue'] = None
assert expected_config == actual_config


@pytest.mark.skip(reason="To be implemented")
Expand Down

0 comments on commit de23117

Please sign in to comment.