Skip to content

Commit

Permalink
moved symbol_lines_in_file() function to symbol_converter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kangwonlee committed Dec 26, 2017
1 parent a4689b9 commit be6136e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_remove_output.py → test_symbol_converter.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import unittest

import ipynb_remove_output as nbutils
import symbol_converter as sc


class TestRemoveOutput(unittest.TestCase):
class TestSymbolConverter(unittest.TestCase):
def setUp(self):
self.input_file_name = 'sample.ipynb'

def test_cells_with_symbol(self):
self.maxDiff = None
result = nbutils.symbol_lines_in_file(self.input_file_name)
result = sc.symbol_lines_in_file(self.input_file_name)

# compare with an expected list
expected_result = [{'cell number': 8, 'result': [
Expand Down

0 comments on commit be6136e

Please sign in to comment.