Thank you for contributing in Hive Coding! This is the perfect place to ask these questions.
You should be able to use the predict function on your new 'real_data' as well - and see how well your algorithm performs on unseen data.
Just use this
y_predicted = nb.predict(x_test) but instead of using the x_test data used from the training set, use the real_data.